JException
Joomla! Exception object.
This class is inspired in design and concept by patError <http://www.php-tools.net>
patError contributors include:
- gERD Schaufelberger <[email protected]>
- Sebastian Mordziol <[email protected]>
- Stephan Schmidt <[email protected]>
Located in /joomla/utilities/error.php (line 594)
JObject (Subpackage Base)
![]()
JException (Subpackage Utilities)
JException
__construct
(int $level, string $code, string $msg, [string $info = null], [ $backtrace = false])
array
$args
= array() (line 655)
Arguments recieved by the method the error occurred in [Available if backtrace is enabled]
mixed
$backtrace
= false (line 661)
Backtrace information
string
$class
= null (line 643)
Name of the class the error occurred in [Available if backtrace is enabled]
string
$code
= null (line 606)
Error code
string
$file
= null (line 625)
Name of the file the error occurred in [Available if backtrace is enabled]
string
$function
= null (line 637)
Name of the method the error occurred in [Available if backtrace is enabled]
string
$info
= '' (line 619)
Additional info about the error relevant to the developer
- e.g. if a database connect fails, the dsn used
string
$level
= null (line 600)
Error level
int
$line
= 0 (line 631)
Line number the error occurred in [Available if backtrace is enabled]
string
$message
= null (line 612)
Error message
string
$type
= null (line 649)
Error type
Constructor
- used to set up the error with all needed error details.
- int $level: The error level (use the PHP constants E_ALL, E_NOTICE etc.).
- string $code: The error code from the application
- string $msg: The error message
- string $info: Optional: The additional error information.
- $backtrace
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Method to get the backtrace information for an exception object
- $formatted
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 20:57:49 +0000 by phpDocumentor 1.3.1



