-
Notifications
You must be signed in to change notification settings - Fork 103
/
error.xml
170 lines (159 loc) · 5.22 KB
/
error.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: Luffy Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<reference xml:id="class.error" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Error</title>
<titleabbrev>Error</titleabbrev>
<partintro>
<!-- {{{ Error intro -->
<section xml:id="error.intro">
&reftitle.intro;
<para>
<ooclass><classname>Error</classname></ooclass> 是所有PHP内部错误类的基类。
</para>
</section>
<!-- }}} -->
<section xml:id="error.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooexception>
<exceptionname>Error</exceptionname>
</ooexception>
<oointerface>
<modifier>implements</modifier>
<interfacename>Throwable</interfacename>
</oointerface>
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>protected</modifier>
<type>string</type>
<varname linkend="error.props.message">message</varname>
<initializer>""</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>private</modifier>
<type>string</type>
<varname linkend="error.props.string">string</varname>
<initializer>""</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>protected</modifier>
<type>int</type>
<varname linkend="error.props.code">code</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>protected</modifier>
<type>string</type>
<varname linkend="error.props.file">file</varname>
<initializer>""</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>protected</modifier>
<type>int</type>
<varname linkend="error.props.line">line</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>private</modifier>
<type>array</type>
<varname linkend="error.props.trace">trace</varname>
<initializer>[]</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>private</modifier>
<type class="union"><type>Throwable</type><type>null</type></type>
<varname linkend="error.props.previous">previous</varname>
<initializer>null</initializer>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<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'])">
<xi:fallback/>
</xi:include>
<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'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<!-- {{{ Error properties -->
<section xml:id="error.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="error.props.message">
<term><varname>message</varname></term>
<listitem>
<para>错误消息内容</para>
</listitem>
</varlistentry>
<varlistentry xml:id="error.props.code">
<term><varname>code</varname></term>
<listitem>
<para>错误代码</para>
</listitem>
</varlistentry>
<varlistentry xml:id="error.props.file">
<term><varname>file</varname></term>
<listitem>
<para>抛出错误的文件名</para>
</listitem>
</varlistentry>
<varlistentry xml:id="error.props.line">
<term><varname>line</varname></term>
<listitem>
<para>抛出错误的行数</para>
</listitem>
</varlistentry>
<varlistentry xml:id="error.props.previous">
<term><varname>previous</varname></term>
<listitem>
<para>之前抛出的异常</para>
</listitem>
</varlistentry>
<varlistentry xml:id="error.props.string">
<term><varname>string</varname></term>
<listitem>
<para>字符串形式的堆栈跟踪</para>
</listitem>
</varlistentry>
<varlistentry xml:id="error.props.trace">
<term><varname>trace</varname></term>
<listitem>
<para>数组形式的堆栈跟踪</para>
</listitem>
</varlistentry>
</variablelist>
</section>
<!-- }}} -->
</partintro>
&language.predefined.error.construct;
&language.predefined.error.getmessage;
&language.predefined.error.getprevious;
&language.predefined.error.getcode;
&language.predefined.error.getfile;
&language.predefined.error.getline;
&language.predefined.error.gettrace;
&language.predefined.error.gettraceasstring;
&language.predefined.error.tostring;
&language.predefined.error.clone;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->