diff --git a/language/predefined/exception/getcode.xml b/language/predefined/exception/getcode.xml index 1665c663e7..26988e9441 100644 --- a/language/predefined/exception/getcode.xml +++ b/language/predefined/exception/getcode.xml @@ -58,6 +58,15 @@ The exception code is: 30 + + + &reftitle.seealso; + + + Throwable::getCode + + + diff --git a/language/predefined/throwable/getcode.xml b/language/predefined/throwable/getcode.xml index 2a597c9942..4d085b9f0c 100644 --- a/language/predefined/throwable/getcode.xml +++ b/language/predefined/throwable/getcode.xml @@ -4,7 +4,7 @@ Throwable::getCode - + Gets the exception code @@ -14,7 +14,7 @@ - Returns Code + Returns the error code associated with the thrown object. @@ -26,13 +26,21 @@ &reftitle.returnvalues; + Returns the exception code as integer in + Exception but possibly as other type in + Exception descendants (for example as + string in PDOException). - - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::getCode + + + - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::getFile + + + - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::getLine + + + - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::getMessage + + + - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::getPrevious + + + - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::getTrace + + + - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::getTraceAsString + + + - &reftitle.errors; - - + + &reftitle.seealso; + + + Exception::__toString + + +