cvs: phpdoc /en/language exceptions.xml

From: Date: Tue, 04 Nov 2008 17:04:29 +0000
Subject: cvs: phpdoc /en/language exceptions.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2380@lists.php.net to get a copy of this message
vrana Tue Nov 4 17:04:29 2008 UTC Modified files: /phpdoc/en/language exceptions.xml Log: Internal exceptions (bug #46041) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/exceptions.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/language/exceptions.xml diff -u phpdoc/en/language/exceptions.xml:1.6 phpdoc/en/language/exceptions.xml:1.7 --- phpdoc/en/language/exceptions.xml:1.6 Fri Apr 18 19:18:42 2008 +++ phpdoc/en/language/exceptions.xml Tue Nov 4 17:04:29 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <chapter xml:id="language.exceptions" xmlns="http://docbook.org/ns/docbook"> <title>Exceptions</title> @@ -25,6 +25,14 @@ "<literal>Uncaught Exception ...</literal>" message, unless a handler has been defined with <function>set_exception_handler</function>. </para> + <note> + <para> + Internal PHP functions mainly use <link + linkend="ini.error-reporting">Error reporting</link>, only modern + extensions use exceptions. However, errors can be simply translated to + exceptions with <link linkend="class.errorexception">ErrorException</link>. + </para> + </note> <example> <title>Throwing an Exception</title> <programlisting role="php">

« previous php.doc.cvs (#2380) next »