From Joomla! Documentation

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in



Method name Description
__construct Constructor

used to set up the error with all needed error details.

getMessage Method to get the exception message
getCode Method to get the exception code
getFile Method to get the source filename where the exception occured
getLine Method to get the source line where the exception occured
getTrace Method to get the array of the backtrace()
getTraceAsString Method to get the formatted backtrace information
toString Returns to error message


jimport( 'joomla.error.exception' );


Code Examples