API17:JException
From Joomla! Documentation
JException
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor |
| public | __toString | Returns to error message. |
| public | get | Returns a property of the object or the default value if the property is not set. |
| public | getError | Get the most recent error message. |
| public | getErrors | Return all errors, if any. |
| public | getProperties | Returns an associative array of object properties. |
| public | set | Modifies a property of the object, creating it if it does not already exist. |
| public | setError | Add an error message. |
| public | setProperties | Set the object properties based on a named array/hash. |
| public | toString | Returns to error message. |
- Defined in libraries/joomla/error/exception.php
Importing
jimport( 'joomla.error.exception' );
See also
JException source code on BitBucket
Subpackage Error- Other versions of JException
User contributed notes
Code Examples