svn: /phpdoc/en/trunk/language/ exceptions.xml
| From: | Daniel Egeberg | Date: | Thu, 14 Jan 2010 15:34:37 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ exceptions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5850@lists.php.net to get a copy of this message | ||
degeberg Thu, 14 Jan 2010 15:34:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293547
Log:
Fixes PHP bug #50752 (Exception documentation needs clarification)
Bug: http://bugs.php.net/50752 (Open) Exception
documentation needs clarification
Changed paths:
U phpdoc/en/trunk/language/exceptions.xml
Modified: phpdoc/en/trunk/language/exceptions.xml
===================================================================
--- phpdoc/en/trunk/language/exceptions.xml 2010-01-14 14:20:48 UTC (rev 293546)
+++ phpdoc/en/trunk/language/exceptions.xml 2010-01-14 15:34:37 UTC (rev 293547)
@@ -25,6 +25,11 @@
"<literal>Uncaught Exception ...</literal>" message, unless a handler has
been defined with <function>set_exception_handler</function>.
</para>
+ <para>
+ The thrown object must be an instance of the <classname>Exception</classname>
+ class or a subclass of <classname>Exception</classname>. Trying to throw an
+ object that is not will result in a PHP Fatal Error.
+ </para>
<note>
<para>
Internal PHP functions mainly use