Re: cvs: phpdoc /en/language exceptions.xml
| From: | Hannes Magnusson | Date: | Tue, 04 Nov 2008 21:01:02 +0000 |
| Subject: | Re: cvs: phpdoc /en/language exceptions.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-2384@lists.php.net to get a copy of this message | ||
On Tue, Nov 4, 2008 at 18:04, Jakub Vrana <vrana@php.net> wrote:
> 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>.
FYI: The latest and greatest markup to link to Exceptions and classes:
<classname>ErrorException</classname> :)
-Hannes