language/predefined/exception/getprevious.xml
09c49da6f0167fcdfe53a76e3ea28ecfc0eb337b
...
...
@@ -1,20 +1,20 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="exception.getprevious" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Exception::getPrevious</refname>
7
-
<refpurpose>Returns previous Exception</refpurpose>
6
+
<refpurpose>Returns previous Throwable</refpurpose>
8
7
</refnamediv>
9
8
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>final</modifier> <modifier>public</modifier> <type>Throwable</type><methodname>Exception::getPrevious</methodname>
14
-
<void />
11
+
<methodsynopsis role="Exception">
12
+
<modifier>final</modifier> <modifier>public</modifier> <type class="union"><type>Throwable</type><type>null</type></type><methodname>Exception::getPrevious</methodname>
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
-
Returns previous exception (the third parameter of <methodname>Exception::__construct</methodname>).
16
+
Returns previous <classname>Throwable</classname>
17
+
(which had been passed as the third parameter of <methodname>Exception::__construct</methodname>).
18
18
</para>
19
19
</refsect1>
20
20
...
...
@@ -31,30 +31,6 @@
31
31
</para>
32
32
</refsect1>
33
33

34
-
<refsect1 role="changelog">
35
-
&reftitle.changelog;
36
-
<para>
37
-
<informaltable>
38
-
<tgroup cols="2">
39
-
<thead>
40
-
<row>
41
-
<entry>&Version;</entry>
42
-
<entry>&Description;</entry>
43
-
</row>
44
-
</thead>
45
-
<tbody>
46
-
<row>
47
-
<entry>7.0.0</entry>
48
-
<entry>
49
-
The return type declaration changed to <classname>Throwable</classname>.
50
-
</entry>
51
-
</row>
52
-
</tbody>
53
-
</tgroup>
54
-
</informaltable>
55
-
</para>
56
-
</refsect1>
57
-

58
34
<refsect1 role="examples">
59
35
&reftitle.examples;
60
36
<para>
...
...
@@ -107,7 +83,6 @@ try {
107
83
</para>
108
84
</refsect1>
109
85
</refentry>
110
-
111
86
<!-- Keep this comment at the end of the file
112
87
Local variables:
113
88
mode: sgml
...
...
@@ -128,4 +103,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
128
103
vim: et tw=78 syn=sgml
129
104
vi: ts=1 sw=1
130
105
-->
131
-

132
106