Public Member Functions | |
setStackTrace ($sStackTrace) | |
getStackTrace () | |
setValues ($aValues) | |
addValue ($sName, $sValue) | |
setExceptionType ($sType) | |
getErrorClassType () | |
getValue ($sName) | |
setDebug ($bl) | |
setMessage ($sMessage) | |
getOxMessage () | |
__toString () | |
Protected Attributes | |
$_blDebug = false | |
Private Attributes | |
$_sMessage | |
$_sStackTrace | |
$_aValues | |
$_sType |
simplified Exception classes for simply displaying errors saves resources when exception functionality is not needed
Definition at line 7 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.__toString | ( | ) |
When exception is converted as string, this magic method return exception message
Definition at line 164 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.addValue | ( | $ | sName, | |
$ | sValue | |||
) |
Stores into exception storage message or other value
string | $sName storage name | |
mixed | $sValue value to store |
Definition at line 86 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.getErrorClassType | ( | ) |
Returns error class type
Implements oxIDisplayError.
Definition at line 108 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.getOxMessage | ( | ) |
Returns translated exception message
Implements oxIDisplayError.
Definition at line 154 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.getStackTrace | ( | ) |
oxExceptionToDisplay.getValue | ( | $ | sName | ) |
Returns exception stored (by name) value
string | $sName storage name |
Implements oxIDisplayError.
Definition at line 120 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.setDebug | ( | $ | bl | ) |
Exception debug mode setter
bool | $bl if TRUE debug mode on |
Definition at line 132 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.setExceptionType | ( | $ | sType | ) |
Exception type setter
string | $sType exception type |
Definition at line 98 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.setMessage | ( | $ | sMessage | ) |
Exception message setter
string | $sMessage exception message |
Definition at line 144 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.setStackTrace | ( | $ | sStackTrace | ) |
Stack trace setter
string | $sStackTrace stack trace |
Definition at line 51 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.setValues | ( | $ | aValues | ) |
Sets oxExceptionToDisplay._aValues value
array | $aValues exception values to store |
Definition at line 73 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.$_aValues [private] |
Definition at line 35 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.$_blDebug = false [protected] |
Definition at line 21 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.$_sMessage [private] |
Definition at line 14 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.$_sStackTrace [private] |
Definition at line 28 of file oxexceptiontodisplay.php.
oxExceptionToDisplay.$_sType [private] |
Definition at line 42 of file oxexceptiontodisplay.php.