oxExceptionHandler Class Reference
List of all members.
Detailed Description
Exception handler, deals with all high level exceptions (caught in oxshopcontrol)
Definition at line 6 of file oxexceptionhandler.php.
Constructor & Destructor Documentation
oxExceptionHandler.__construct |
( |
$ |
iDebug = 0 |
) |
|
Member Function Documentation
oxExceptionHandler.__call |
( |
$ |
sMethod, |
|
|
$ |
aArgs | |
|
) |
| | |
Only used for convenience in UNIT tests by doing so we avoid writing extended classes for testing protected or private methods
- Parameters:
-
| string | $sMethod Methods name |
| array | $aArgs Argument array |
- Exceptions:
-
- Returns:
- string
Definition at line 172 of file oxexceptionhandler.php.
oxExceptionHandler._dealWithNoOxException |
( |
Exception $ |
oEx |
) |
[protected] |
oxExceptionHandler._safeShopRedirectAndExit |
( |
$ |
sUrl |
) |
[protected] |
Only redirect if not in unit testing. This function will not return as its redirects browser and dies. And in unit tests we just return in order not to stop other tests.
- Parameters:
-
| string | $sUrl redirect url |
- Returns:
- null
Definition at line 147 of file oxexceptionhandler.php.
oxExceptionHandler._uncaughtException |
( |
oxException $ |
oEx |
) |
[protected] |
oxExceptionHandler.getLogFileName |
( |
|
) |
|
oxExceptionHandler.handleUncaughtException |
( |
Exception $ |
oEx |
) |
|
Uncaught exception handler, deals with uncaught exceptions (global)
- Parameters:
-
- Returns:
- null
Definition at line 73 of file oxexceptionhandler.php.
oxExceptionHandler.setIDebug |
( |
$ |
iDebug |
) |
|
Set the debug level
- Parameters:
-
| int | $iDebug debug level (0== no debug) |
- Returns:
- null
Definition at line 39 of file oxexceptionhandler.php.
oxExceptionHandler.setLogFileName |
( |
$ |
sFile |
) |
|
Member Data Documentation
oxExceptionHandler.$_iDebug = 0 [protected] |
oxExceptionHandler.$_sFileName = 'EXCEPTION_LOG.txt' [protected] |
The documentation for this class was generated from the following file: