TYPO3
7.6
|
Public Member Functions | |
__construct ($message, $p2=null, $p3=null) | |
getErrorData () | |
getCause () | |
getCauseMessage (&$causes) | |
getTraceSafe () | |
getErrorClass () | |
getErrorMethod () | |
__toString () | |
toHtml () | |
toText () | |
Static Public Member Functions | |
static | addObserver ($callback, $label= 'default') |
static | removeObserver ($label= 'default') |
static | getUniqueId () |
Public Attributes | |
const | OBSERVER_PRINT = -2 |
const | OBSERVER_TRIGGER = -4 |
const | OBSERVER_DIE = -8 |
Protected Member Functions | |
signal () | |
Protected Attributes | |
$cause | |
Private Attributes | |
$_trace | |
Static Private Attributes | |
static | $_observers = array() |
static | $_uniqueid = 0 |
Definition at line 95 of file vendor/pear/pear_exception/PEAR/Exception.php.
__construct | ( | $message, | |
$p2 = null , |
|||
$p3 = null |
|||
) |
Supported signatures:
string | $message | exception message |
int | Exception | PEAR_Error | array | null | $p2 | exception cause |
int | null | $p3 | exception code or null |
Definition at line 120 of file vendor/pear/pear_exception/PEAR/Exception.php.
__toString | ( | ) |
|
static |
Add an exception observer
mixed | $callback | - A valid php callback, see php func is_callable()
|
string | $label | The name of the observer. Use this if you want to remove it later with removeObserver() |
Definition at line 161 of file vendor/pear/pear_exception/PEAR/Exception.php.
getCause | ( | ) |
Returns the exception that caused this exception to be thrown
Definition at line 245 of file vendor/pear/pear_exception/PEAR/Exception.php.
References $cause.
getCauseMessage | ( | & | $causes | ) |
Function must be public to call on caused exceptions
array | $causes | Array that gets filled. |
Definition at line 257 of file vendor/pear/pear_exception/PEAR/Exception.php.
References $cause, elseif, and getTraceSafe().
getErrorClass | ( | ) |
Gets the first class of the backtrace
Definition at line 338 of file vendor/pear/pear_exception/PEAR/Exception.php.
References getTraceSafe().
getErrorData | ( | ) |
Return specific error information that can be used for more detailed error messages or translation.
This method may be overridden in child exception classes in order to add functionality not present in PEAR_Exception and is a placeholder to define API
The returned array must be an associative array of parameter => value like so:
array('name' => $name, 'context' => array(...))
Definition at line 235 of file vendor/pear/pear_exception/PEAR/Exception.php.
getErrorMethod | ( | ) |
Gets the first method of the backtrace
Definition at line 349 of file vendor/pear/pear_exception/PEAR/Exception.php.
References getTraceSafe().
getTraceSafe | ( | ) |
Build a backtrace and return it
Definition at line 321 of file vendor/pear/pear_exception/PEAR/Exception.php.
References $_trace.
Referenced by getCauseMessage(), getErrorClass(), getErrorMethod(), and toHtml().
|
static |
Generate a unique ID for an observer
Definition at line 183 of file vendor/pear/pear_exception/PEAR/Exception.php.
|
static |
Remove an exception observer
string | $label | Name of the observer |
Definition at line 173 of file vendor/pear/pear_exception/PEAR/Exception.php.
|
protected |
Send a signal to all observers
Definition at line 193 of file vendor/pear/pear_exception/PEAR/Exception.php.
Referenced by __construct().
toHtml | ( | ) |
Generates a HTML representation of the exception
Definition at line 376 of file vendor/pear/pear_exception/PEAR/Exception.php.
References $cause, getCauseMessage(), and getTraceSafe().
Referenced by __toString().
toText | ( | ) |
Generates text representation of the exception and stack trace
Definition at line 443 of file vendor/pear/pear_exception/PEAR/Exception.php.
References $cause, and getCauseMessage().
Referenced by __toString().
|
staticprivate |
Definition at line 101 of file vendor/pear/pear_exception/PEAR/Exception.php.
|
private |
Definition at line 103 of file vendor/pear/pear_exception/PEAR/Exception.php.
Referenced by getTraceSafe().
|
staticprivate |
Definition at line 102 of file vendor/pear/pear_exception/PEAR/Exception.php.
|
protected |
Definition at line 100 of file vendor/pear/pear_exception/PEAR/Exception.php.
Referenced by getCause(), getCauseMessage(), toHtml(), and toText().
const OBSERVER_DIE = -8 |
Definition at line 99 of file vendor/pear/pear_exception/PEAR/Exception.php.
const OBSERVER_PRINT = -2 |
Definition at line 97 of file vendor/pear/pear_exception/PEAR/Exception.php.
const OBSERVER_TRIGGER = -4 |
Definition at line 98 of file vendor/pear/pear_exception/PEAR/Exception.php.