API15:JException
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] Description:JException
Contents |
Defined in
libraries/joomla/error/exception.php
Methods
| 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 |
Importing
jimport( 'joomla.error.exception' );
[Edit See Also] SeeAlso:JException
Examples
<CodeExamplesForm />
