note 95060 added to class.exception
| From: | kayo at osu1 dot php dot net | Date: | Fri, 11 Dec 2009 09:20:09 +0000 |
| Subject: | note 95060 added to class.exception | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163843@lists.php.net to get a copy of this message | ||
To generate an exception use:
Throw new Exception("Message to display");
By default it will be shown to the user. Use Try...catch to handle it.
----
Server IP: 82.177.164.100
Probable Submitter: 83.22.6.24
----
Manual Page -- http://www.php.net/manual/en/class.exception.php
Edit -- https://master.php.net/note/edit/95060
Del: integrated -- https://master.php.net/note/delete/95060/integrated
Del: useless -- https://master.php.net/note/delete/95060/useless
Del: bad code -- https://master.php.net/note/delete/95060/bad+code
Del: spam -- https://master.php.net/note/delete/95060/spam
Del: non-english -- https://master.php.net/note/delete/95060/non-english
Del: in docs -- https://master.php.net/note/delete/95060/in+docs
Del: other reasons-- https://master.php.net/note/delete/95060
Reject -- https://master.php.net/note/reject/95060
Search -- https://master.php.net/manage/user-notes.php