Public Member Functions | |
__construct ($sMessage="not set", $iCode=0) | |
setLogFileName ($sFile) | |
getLogFileName () | |
setMessage ($sMessage) | |
setRenderer () | |
isRenderer () | |
setNotCaught () | |
isNotCaught () | |
debugOut ($iDebug=-1) | |
getString () | |
getValues () | |
Protected Attributes | |
$_sFileName = 'EXCEPTION_LOG.txt' | |
$_blRenderer = false | |
$_blNotCaught = false |
oxException.__construct | ( | $ | sMessage = "not set" , |
|
$ | iCode = 0 | |||
) |
Default constructor
string | $sMessage exception message | |
integer | $iCode exception code |
oxException.setLogFileName | ( | $ | sFile | ) |
Set log file path/name
string | $sFile File name |
oxException.getLogFileName | ( | ) |
Get log file path/name
oxException.setMessage | ( | $ | sMessage | ) |
Sets the exception message
string | $sMessage exception message |
oxException.setRenderer | ( | ) |
To define that the exception was caught in renderer
oxException.isRenderer | ( | ) |
Is the exception caught in a renderer
oxException.setNotCaught | ( | ) |
To define that the exception was not caught (only in oxexceptionhandler)
oxException.isNotCaught | ( | ) |
Is the exception "not" caught.
oxException.debugOut | ( | $ | iDebug = -1 |
) |
Prints exception in file EXCEPTION_LOG.txt
integer | $iDebug current debug level (will only print out on debug != 0) |
oxException.getString | ( | ) |
Get complete string dump, should be overwritten by excptions extending this exceptions if they introduce new fields
Reimplemented in oxAccessRightException, oxArticleException, oxArticleInputException, oxConnectionException, oxCookieException, oxFileException, oxInputException, oxLanguageException, oxNoArticleException, oxObjectException, oxOutOfStockException, oxShopException, oxSystemComponentException, oxUserException, and oxVoucherException.
oxException.getValues | ( | ) |
Default __toString method wraps getString(). In the shop no __toString() is used to be PHP 5.1 compatible,
array
Reimplemented in oxAccessRightException, oxArticleException, oxConnectionException, oxFileException, oxLanguageException, oxOutOfStockException, oxSystemComponentException, and oxVoucherException.
oxException.$_sFileName = 'EXCEPTION_LOG.txt' [protected] |
Reimplemented in oxFileException.
oxException.$_blRenderer = false [protected] |
oxException.$_blNotCaught = false [protected] |