ErrorException::__construct() default properties (Original patch by guilhermeblanco)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316556 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Richard Quadling 2011-09-12 15:55:16 +00:00
parent c2dcfbbade
commit 8ea65bf66f

View file

@ -4,18 +4,19 @@
<refentry xml:id="errorexception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ErrorException::__construct</refname>
<refpurpose>Construct the exception</refpurpose>
<refpurpose>Constructs the exception</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis>
<modifier>public</modifier> <methodname>ErrorException::__construct</methodname>
<methodparam choice="opt"><type>string</type><parameter>message</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>code</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>severity</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>lineno</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>message</parameter><initializer>""</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>code</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>severity</parameter><initializer>1</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>filename</parameter><initializer>__FILE__</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>lineno</parameter><initializer>__LINE__</initializer></methodparam>
<methodparam choice="opt"><type>Exception</type><parameter>previous</parameter><initializer>&null;</initializer></methodparam>
</constructorsynopsis>
<para>
Constructs the Exception.
@ -66,6 +67,14 @@
</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>