From b03f9198d2722d69d6dfdaf74b3d4a92a9861f81 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 10 Feb 2011 15:03:42 +0000 Subject: [PATCH] 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 --- language/predefined/exception/getfile.xml | 4 ++-- language/predefined/exception/getline.xml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/language/predefined/exception/getfile.xml b/language/predefined/exception/getfile.xml index 6b80cf08a6..c1802c4b69 100644 --- a/language/predefined/exception/getfile.xml +++ b/language/predefined/exception/getfile.xml @@ -14,7 +14,7 @@ - Get the name of the file the exception was thrown from. + Get the name of the file the exception was created. @@ -26,7 +26,7 @@ &reftitle.returnvalues; - Returns the filename in which the exception was thrown. + Returns the filename in which the exception was created. diff --git a/language/predefined/exception/getline.xml b/language/predefined/exception/getline.xml index c565825f94..5c9f791b11 100644 --- a/language/predefined/exception/getline.xml +++ b/language/predefined/exception/getline.xml @@ -14,7 +14,7 @@ - Returns line number where the exception was thrown. + Get line number where the exception was created. @@ -26,7 +26,7 @@ &reftitle.returnvalues; - Returns the line number where the exception was thrown. + Returns the line number where the exception was created. @@ -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;