TYPO3
7.6
|
Public Member Functions | |
__construct () | |
echoExceptionWeb (\Exception $exception) | |
echoExceptionCLI (\Exception $exception) | |
Public Member Functions inherited from AbstractExceptionHandler | |
handleException (\Exception $exception) | |
Protected Member Functions | |
discloseExceptionInformation (\Exception $exception) | |
getTitle (\Exception $exception) | |
getMessage (\Exception $exception) | |
Protected Member Functions inherited from AbstractExceptionHandler | |
writeLogEntries (\Exception $exception, $context) | |
writeLog ($logMessage) | |
sendStatusHeaders (\Exception $exception) | |
getDatabaseConnection () | |
Protected Attributes | |
$defaultTitle = 'Oops, an error occurred!' | |
$defaultMessage = '' | |
Additional Inherited Members | |
Public Attributes inherited from AbstractExceptionHandler | |
const | CONTEXT_WEB = 'WEB' |
const | CONTEXT_CLI = 'CLI' |
A quite exception handler which catches but ignores any exception.
This file is a backport from FLOW3
Definition at line 22 of file core/Classes/Error/ProductionExceptionHandler.php.
__construct | ( | ) |
Constructs this exception handler - registers itself as the default exception handler.
Implements ExceptionHandlerInterface.
Definition at line 41 of file core/Classes/Error/ProductionExceptionHandler.php.
|
protected |
Determines, whether Exception details should be outputted
\Exception | $exception | The exception |
Definition at line 82 of file core/Classes/Error/ProductionExceptionHandler.php.
References $GLOBALS.
Referenced by ProductionExceptionHandler\getMessage(), and ProductionExceptionHandler\getTitle().
echoExceptionCLI | ( | \Exception | $exception | ) |
Echoes an exception for the command line.
\Exception | $exception | The exception |
Implements ExceptionHandlerInterface.
Definition at line 70 of file core/Classes/Error/ProductionExceptionHandler.php.
References AbstractExceptionHandler\writeLogEntries().
echoExceptionWeb | ( | \Exception | $exception | ) |
Echoes an exception for the web.
\Exception | $exception | The exception |
Implements ExceptionHandlerInterface.
Definition at line 52 of file core/Classes/Error/ProductionExceptionHandler.php.
References ProductionExceptionHandler\getMessage(), ProductionExceptionHandler\getTitle(), AbstractExceptionHandler\sendStatusHeaders(), and AbstractExceptionHandler\writeLogEntries().
|
protected |
Returns the message for the error message
\Exception | $exception | Exception causing the error |
Definition at line 123 of file core/Classes/Error/ProductionExceptionHandler.php.
References ProductionExceptionHandler\$defaultMessage, and ProductionExceptionHandler\discloseExceptionInformation().
Referenced by ProductionExceptionHandler\echoExceptionWeb().
|
protected |
Returns the title for the error message
\Exception | $exception | Exception causing the error |
Definition at line 108 of file core/Classes/Error/ProductionExceptionHandler.php.
References ProductionExceptionHandler\$defaultTitle, and ProductionExceptionHandler\discloseExceptionInformation().
Referenced by ProductionExceptionHandler\echoExceptionWeb().
|
protected |
Definition at line 36 of file core/Classes/Error/ProductionExceptionHandler.php.
Referenced by ProductionExceptionHandler\getMessage().
|
protected |
Definition at line 29 of file core/Classes/Error/ProductionExceptionHandler.php.
Referenced by ProductionExceptionHandler\getTitle().