note 123638 added to language.exceptions.extending
| From: | HayleyWatson@php.net | Date: | Mon, 25 Feb 2019 04:13:57 +0000 |
| Subject: | note 123638 added to language.exceptions.extending | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210286@lists.php.net to get a copy of this message | ||
Check the other SPL Exception classes and extend one of those if your intended exception is a
subclass of one of those. This allows more finesse when catching.
----
Server IP: 150.242.41.218
Probable Submitter: 125.239.159.167
----
Manual Page -- http://php.net/manual/en/language.exceptions.extending.php
Edit -- https://master.php.net/note/edit/123638
Del: integrated -- https://master.php.net/note/delete/123638/integrated
Del: useless -- https://master.php.net/note/delete/123638/useless
Del: bad code -- https://master.php.net/note/delete/123638/bad+code
Del: spam -- https://master.php.net/note/delete/123638/spam
Del: non-english -- https://master.php.net/note/delete/123638/non-english
Del: in docs -- https://master.php.net/note/delete/123638/in+docs
Del: other reasons-- https://master.php.net/note/delete/123638
Reject -- https://master.php.net/note/reject/123638
Search -- https://master.php.net/manage/user-notes.php