OXID eShop CE
4.10.2
|
Public Member Functions | |
__construct ($sMessage="not set", $iCode=0) | |
setLogFileName ($sFile) | |
getLogFileName () | |
setMessage ($sMessage) | |
setRenderer () | |
isRenderer () | |
setNotCaught () | |
isNotCaught () | |
debugOut () | |
getString () | |
getValues () | |
setDestination ($sDestination) |
Protected Attributes | |
$_sFileName = 'EXCEPTION_LOG.txt' | |
$_blRenderer = false | |
$_blNotCaught = false |
Basic exception class
Definition at line 7 of file oxexception.php.
oxException::__construct | ( | $sMessage = "not set" , |
|
$iCode = 0 |
|||
) |
Default constructor
string | $sMessage | exception message |
integer | $iCode | exception code |
Definition at line 40 of file oxexception.php.
oxException::debugOut | ( | ) |
Prints exception in file EXCEPTION_LOG.txt
Definition at line 118 of file oxexception.php.
oxException::getLogFileName | ( | ) |
Get log file path/name
Definition at line 64 of file oxexception.php.
oxException::getString | ( | ) |
Get complete string dump, should be overwritten by excptions extending this exceptions if they introduce new fields
Reimplemented in oxConnectionException, oxFileException, oxArticleException, oxOutOfStockException, oxSystemComponentException, oxObjectException, oxLanguageException, oxVoucherException, oxInputException, oxUserException, oxArticleInputException, oxShopException, oxCookieException, and oxNoArticleException.
Definition at line 136 of file oxexception.php.
oxException::getValues | ( | ) |
Default __toString method wraps getString(). In the shop no __toString() is used to be PHP 5.1 compatible,
Reimplemented in oxConnectionException, oxOutOfStockException, oxFileException, oxArticleException, oxSystemComponentException, oxLanguageException, and oxVoucherException.
Definition at line 168 of file oxexception.php.
oxException::isNotCaught | ( | ) |
oxException::isRenderer | ( | ) |
oxException::setDestination | ( | $sDestination | ) |
Defines a name of the view variable containing the messages
string | $sDestination | name of the view variable |
Reimplemented in oxOutOfStockException.
Definition at line 178 of file oxexception.php.
oxException::setLogFileName | ( | $sFile | ) |
Set log file path/name
string | $sFile | File name |
Definition at line 52 of file oxexception.php.
oxException::setMessage | ( | $sMessage | ) |
Sets the exception message
string | $sMessage | exception message |
Definition at line 74 of file oxexception.php.
oxException::setNotCaught | ( | ) |
To define that the exception was not caught (only in oxexceptionhandler)
Definition at line 100 of file oxexception.php.
oxException::setRenderer | ( | ) |
To define that the exception was caught in renderer
Definition at line 82 of file oxexception.php.
|
protected |
Definition at line 32 of file oxexception.php.
|
protected |
Definition at line 25 of file oxexception.php.
|
protected |
Definition at line 17 of file oxexception.php.