OXID eShop CE
4.9.6
|
Public Member Functions | |
setStackTrace ($sStackTrace) | |
getStackTrace () | |
setValues ($aValues) | |
addValue ($sName, $sValue) | |
setExceptionType ($sType) | |
getErrorClassType () | |
getValue ($sName) | |
setDebug ($bl) | |
setMessage ($sMessage) | |
setMessageArgs () | |
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 172 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 81 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::getErrorClassType | ( | ) |
Returns error class type
Implements oxIDisplayError.
Definition at line 101 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::getOxMessage | ( | ) |
Returns translated exception message
Implements oxIDisplayError.
Definition at line 152 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::getStackTrace | ( | ) |
oxExceptionToDisplay::getValue | ( | $sName | ) |
Returns exception stored (by name) value
string | $sName | storage name |
Implements oxIDisplayError.
Definition at line 113 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::setDebug | ( | $bl | ) |
Exception debug mode setter
bool | $bl | if TRUE debug mode on |
Definition at line 123 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::setExceptionType | ( | $sType | ) |
Exception type setter
string | $sType | exception type |
Definition at line 91 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::setMessage | ( | $sMessage | ) |
Exception message setter
string | $sMessage | exception message |
Definition at line 133 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::setMessageArgs | ( | ) |
Sets the exception message arguments used when outputing message using sprintf().
Definition at line 142 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::setStackTrace | ( | $sStackTrace | ) |
Stack trace setter
string | $sStackTrace | stack trace |
Definition at line 50 of file oxexceptiontodisplay.php.
oxExceptionToDisplay::setValues | ( | $aValues | ) |
Sets oxExceptionToDisplay::_aValues value
array | $aValues | exception values to store |
Definition at line 70 of file oxexceptiontodisplay.php.
|
private |
Definition at line 36 of file oxexceptiontodisplay.php.
|
protected |
Definition at line 22 of file oxexceptiontodisplay.php.
|
private |
Definition at line 15 of file oxexceptiontodisplay.php.
|
private |
Definition at line 29 of file oxexceptiontodisplay.php.
|
private |
Definition at line 43 of file oxexceptiontodisplay.php.