language/predefined/error.xml
14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60
...
...
@@ -1,11 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
-
<phpdoc:classref xml:id="class.error"
5
-
xmlns="http://docbook.org/ns/docbook"
6
-
xmlns:xlink="http://www.w3.org/1999/xlink"
7
-
xmlns:xi="http://www.w3.org/2001/XInclude"
8
-
xmlns:phpdoc="http://php.net/ns/phpdoc">
3
+
<phpdoc:classref xml:id="class.error" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
9
4
<title>Error</title>
10
5
<titleabbrev>Error</titleabbrev>
11
6
...
...
@@ -25,27 +20,28 @@
25
20
&reftitle.classsynopsis;
26
21
27
22
<!-- {{{ Synopsis -->
28
-
<classsynopsis>
29
-
<ooclass><classname>Error</classname></ooclass>
30
-
31
-
<!-- {{{ Class synopsis -->
32
-
<classsynopsisinfo>
33
-
<ooclass>
34
-
<classname>Error</classname>
35
-
</ooclass>
23
+
<classsynopsis class="class">
24
+
<ooexception>
25
+
<exceptionname>Error</exceptionname>
26
+
</ooexception>
36
27

37
-
<ooclass>
38
-
<modifier>implements</modifier>
39
-
<classname>Throwable</classname>
40
-
</ooclass>
41
-
</classsynopsisinfo>
42
-
<!-- }}} -->
28
+
<oointerface>
29
+
<modifier>implements</modifier>
30
+
<interfacename>Throwable</interfacename>
31
+
</oointerface>
43
32

44
33
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
45
34
<fieldsynopsis>
46
35
<modifier>protected</modifier>
47
36
<type>string</type>
48
37
<varname linkend="error.props.message">message</varname>
38
+
<initializer>""</initializer>
39
+
</fieldsynopsis>
40
+
<fieldsynopsis>
41
+
<modifier>private</modifier>
42
+
<type>string</type>
43
+
<varname linkend="error.props.string">string</varname>
44
+
<initializer>""</initializer>
49
45
</fieldsynopsis>
50
46
<fieldsynopsis>
51
47
<modifier>protected</modifier>
...
...
@@ -56,16 +52,33 @@
56
52
<modifier>protected</modifier>
57
53
<type>string</type>
58
54
<varname linkend="error.props.file">file</varname>
55
+
<initializer>""</initializer>
59
56
</fieldsynopsis>
60
57
<fieldsynopsis>
61
58
<modifier>protected</modifier>
62
59
<type>int</type>
63
60
<varname linkend="error.props.line">line</varname>
64
61
</fieldsynopsis>
62
+
<fieldsynopsis>
63
+
<modifier>private</modifier>
64
+
<type>array</type>
65
+
<varname linkend="error.props.trace">trace</varname>
66
+
<initializer>[]</initializer>
67
+
</fieldsynopsis>
68
+
<fieldsynopsis>
69
+
<modifier>private</modifier>
70
+
<type class="union"><type>Throwable</type><type>null</type></type>
71
+
<varname linkend="error.props.previous">previous</varname>
72
+
<initializer>null</initializer>
73
+
</fieldsynopsis>
65
74

66
75
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
67
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" />
68
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
76
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Error'])">
77
+
<xi:fallback/>
78
+
</xi:include>
79
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Error'])">
80
+
<xi:fallback/>
81
+
</xi:include>
69
82
</classsynopsis>
70
83
71
84
<!-- }}} -->
...
...
@@ -99,6 +112,24 @@
99
112
<para>The line where the error happened</para>
100
113
</listitem>
101
114
</varlistentry>
115
+
<varlistentry xml:id="error.props.previous">
116
+
<term><varname>previous</varname></term>
117
+
<listitem>
118
+
<para>The previously thrown exception</para>
119
+
</listitem>
120
+
</varlistentry>
121
+
<varlistentry xml:id="error.props.string">
122
+
<term><varname>string</varname></term>
123
+
<listitem>
124
+
<para>The string representation of the stack trace</para>
125
+
</listitem>
126
+
</varlistentry>
127
+
<varlistentry xml:id="error.props.trace">
128
+
<term><varname>trace</varname></term>
129
+
<listitem>
130
+
<para>The stack trace as an array</para>
131
+
</listitem>
132
+
</varlistentry>
102
133
</variablelist>
103
134
</section>
104
135
<!-- }}} -->
...
...
@@ -116,7 +147,6 @@
116
147
&language.predefined.error.tostring;
117
148
&language.predefined.error.clone;
118
149
</phpdoc:classref>
119
-
120
150
<!-- Keep this comment at the end of the file
121
151
Local variables:
122
152
mode: sgml
123
153