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>Exception</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
...
...
@@ -26,7 +26,7 @@
26
26
<refsect1 role="returnvalues">
27
27
&reftitle.returnvalues;
28
28
<para>
29
-
Returns the previous <classname>Exception</classname> if available
29
+
Returns the previous <classname>Throwable</classname> if available
30
30
or &null; otherwise.
31
31
</para>
32
32
</refsect1>
...
...
@@ -83,7 +83,6 @@ try {
83
83
</para>
84
84
</refsect1>
85
85
</refentry>
86
-
87
86
<!-- Keep this comment at the end of the file
88
87
Local variables:
89
88
mode: sgml
...
...
@@ -104,4 +103,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
104
103
vim: et tw=78 syn=sgml
105
104
vi: ts=1 sw=1
106
105
-->
107
-

108
106