note 103954 added to class.invalidargumentexception

From: Date: Fri, 13 May 2011 14:53:13 +0000
Subject: note 103954 added to class.invalidargumentexception
Groups: php.notes 
Request: Send a blank email to php-notes+get-179688@lists.php.net to get a copy of this message
"In my opinion this exception is invaluable for validating arguments- for example providing strict typing a la C:" You are wrong, exception which You are talking about is "UnexpectedValueException". InvalidArgumentException extends LogicException which says that You have bug in your code. The Documentation says: "The LogicException class Introduction Exception that represents error in the program logic. This kind of exceptions should directly leed to a fix in your code." ---- Server IP: 69.147.83.197 Probable Submitter: 83.8.155.245 ---- Manual Page -- http://www.php.net/manual/en/class.invalidargumentexception.php Edit -- https://master.php.net/note/edit/103954 Del: integrated -- https://master.php.net/note/delete/103954/integrated Del: useless -- https://master.php.net/note/delete/103954/useless Del: bad code -- https://master.php.net/note/delete/103954/bad+code Del: spam -- https://master.php.net/note/delete/103954/spam Del: non-english -- https://master.php.net/note/delete/103954/non-english Del: in docs -- https://master.php.net/note/delete/103954/in+docs Del: other reasons-- https://master.php.net/note/delete/103954 Reject -- https://master.php.net/note/reject/103954 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179688) next »