cvs: phpdoc /en/language/predefined/exception construct.xml
| From: | Jakub Vrana | Date: | Thu, 08 Jan 2009 13:12:51 +0000 |
| Subject: | cvs: phpdoc /en/language/predefined/exception construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2993@lists.php.net to get a copy of this message | ||
vrana Thu Jan 8 13:12:51 2009 UTC
Modified files:
/phpdoc/en/language/predefined/exception construct.xml
Log:
Exception chaining
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/predefined/exception/construct.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/language/predefined/exception/construct.xml
diff -u phpdoc/en/language/predefined/exception/construct.xml:1.2
phpdoc/en/language/predefined/exception/construct.xml:1.3
--- phpdoc/en/language/predefined/exception/construct.xml:1.2 Wed Aug 27 19:03:33 2008
+++ phpdoc/en/language/predefined/exception/construct.xml Thu Jan 8 13:12:51 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="exception.construct" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -13,6 +13,7 @@
<modifier>public</modifier>
<methodname>Exception::__construct</methodname>
<methodparam
choice="opt"><type>string</type><parameter>message</parameter><initializer>NULL</initializer></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>code</parameter><initializer>0</initializer></methodparam>
+ <methodparam
choice="opt"><type>Exception</type><parameter>previous</parameter><initializer>0</initializer></methodparam>
</constructorsynopsis>
<para>
Constructs the Exception.
@@ -39,9 +40,42 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>previous</parameter></term>
+ <listitem>
+ <para>
+ The previous exception used for the exception chaining.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.3.0</entry>
+ <entry>
+ The <parameter>previous</parameter> parameter was added.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file