language/predefined/throwable/getcode.xml
09c49da6f0167fcdfe53a76e3ea28ecfc0eb337b
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="throwable.getcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Throwable::getCode</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>abstract</modifier> <modifier>public</modifier> <type>int</type><methodname>Throwable::getCode</methodname>
14
-
<void />
11
+
<methodsynopsis role="Throwable">
12
+
<modifier>public</modifier> <type>int</type><methodname>Throwable::getCode</methodname>
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
16
Returns the error code associated with the thrown object.
...
...
@@ -26,7 +25,7 @@
26
25
<refsect1 role="returnvalues">
27
26
&reftitle.returnvalues;
28
27
<para>
29
-
Returns the exception code as <type>integer</type> in
28
+
Returns the exception code as <type>int</type> in
30
29
<classname>Exception</classname> but possibly as other type in
31
30
<classname>Exception</classname> descendants (for example as
32
31
<type>string</type> in <classname>PDOException</classname>).
...
...
@@ -42,7 +41,6 @@
42
41
</para>
43
42
</refsect1>
44
43
</refentry>
45
-

46
44
<!-- Keep this comment at the end of the file
47
45
Local variables:
48
46
mode: sgml
49
47