API15:JException
From Joomla! Documentation
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' );
Examples
Code Examples