JException
Description
Joomla! Exception object.
Located in /joomla/error/exception.php (line 25)
JObject (Subpackage Base)
![]()
JException (Subpackage Error)
Variable Summary
Method Summary
JException
__construct
(string $msg, [string $code = 0], [int $level = null], [string $info = null], [boolean $backtrace = false])
Variables
array
$args
= array() (line 86)
Arguments recieved by the method the error occurred in [Available if backtrace is enabled]
mixed
$backtrace
= null (line 92)
Backtrace information
string
$class
= null (line 74)
Name of the class the error occurred in [Available if backtrace is enabled]
string
$code
= null (line 37)
Error code
string
$file
= null (line 56)
Name of the file the error occurred in [Available if backtrace is enabled]
string
$function
= null (line 68)
Name of the method the error occurred in [Available if backtrace is enabled]
string
$info
= '' (line 50)
Additional info about the error relevant to the developer
- e.g. if a database connect fails, the dsn used
string
$level
= null (line 31)
Error level
int
$line
= 0 (line 62)
Line number the error occurred in [Available if backtrace is enabled]
string
$message
= null (line 43)
Error message
string
$type
= null (line 80)
Error type
Inherited Variables
Inherited from JObject
JObject::$_errors
Methods
Constructor
- used to set up the error with all needed error details.
JException
__construct
(string $msg, string $code, [int $level = null], [string $info = null], [boolean $backtrace = false])
- string $msg: The error message
- string $code: The error code from the application
- int $level: The error level (use the PHP constants E_ALL, E_NOTICE etc.).
- string $info: Optional: The additional error information.
- boolean $backtrace: True if backtrace information is to be collected
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Method to get the formatted backtrace information
string
getTraceAsString
()
Returns to error message
string
toString
()
Redefinition of:
- JObject::toString()
- Object-to-string conversion.
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
Documentation generated on Tue, 29 Jan 2008 18:45:41 +0000 by phpDocumentor 1.3.1



