mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Exception informs about the point of creation not throwing (doc bug #53882)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308198 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a978bf5ba5
commit
b03f9198d2
2 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@
|
|||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Get the name of the file the exception was thrown from.
|
||||
Get the name of the file the exception was created.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the filename in which the exception was thrown.
|
||||
Returns the filename in which the exception was created.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns line number where the exception was thrown.
|
||||
Get line number where the exception was created.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the line number where the exception was thrown.
|
||||
Returns the line number where the exception was created.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
try {
|
||||
throw new Exception("Some error message");
|
||||
} catch(Exception $e) {
|
||||
echo "The exception was thrown on line: " . $e->getLine();
|
||||
echo "The exception was created on line: " . $e->getLine();
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
|
@ -49,7 +49,7 @@ try {
|
|||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
The exception was thrown on line: 3
|
||||
The exception was created on line: 3
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue