Свойство | Тип | Описание | |
---|---|---|---|
$actions | Array of available actions | ||
$api | |||
$app | Always points to current Application | ||
$by_exception | Link to another exception which caused this one | ||
$code | error code | ||
$more_info | Array with more info | ||
$my_backtrace | Backtrace array | ||
$name | Classname of exception | ||
$owner | Link to object into which we added this object | ||
$recommendation | Plain text recommendation on how the problem can be solved | ||
$shift | Backtrace shift |
Метод | Описание | |
---|---|---|
__construct ( string $msg, string | integer $code ) | On class construct. | |
addAction ( string | array $key, string | array $descr ) | Actions will be displayed as links on the exception page allowing viewer to perform additional debug functions. | |
addMoreInfo ( string $key, mixed $value ) | Call this to add additional information to the exception you are about to throw. | |
addThis ( AbstractObject $obj ) | Add reference to the object. | |
backtrace ( integer $sh = null, array $backtrace = null ) : string | ||
by ( Exception $e ) | Records another exception as a cause of your current exception. | |
collectBasicData ( string | integer $code ) | Collect basic data of exception. | |
getAdditionalMessage ( ) : string | Undocumented. | |
getDetailedHTML ( ) : string | Redefine this function to add additional HTML output. | |
getDocURL ( AbstractObject $o ) : boolean | string | Classes define a DOC constant which points to a on-line resource containing documentation for given class. This method will return full URL for the specified object. | |
getHTML ( ) : string | Returns HTML representation of the exception. | |
getHTMLActions ( ) : string | ||
getHTMLHeader ( ) : string | ||
getHTMLSolution ( ) : string | ||
getHeader ( ) : string | ||
getMyFile ( ) : string | Return filename from backtrace log. | |
getMyLine ( ) : string | Return line number from backtract log. | |
getMyTrace ( ) : array | Return collected backtrace info. | |
getSolution ( ) : array | ||
getText ( ) : string | Returns Textual representation of the exception. | |
init ( ) | Initialization. | |
print_r ( array | object | string $key, string $gs, string $ge, string $ls, string $le, string $ind = ' ' ) : null | string | Utility. | |
setCode ( integer $code ) | Set error code |
public addMoreInfo ( string $key, mixed $value ) | ||
$key | string | |
$value | mixed |
public addThis ( AbstractObject $obj ) | ||
$obj | AbstractObject |
public by ( Exception $e ) | ||
$e | Exception |
public collectBasicData ( string | integer $code ) | ||
$code | string | integer | Error code |
public getAdditionalMessage ( ) : string | ||
Результат | string |
public getDetailedHTML ( ) : string | ||
Результат | string |
public getMyTrace ( ) : array | ||
Результат | array |
public $by_exception |
public $recommendation |