![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct (array $configuration=array()) | |
handle (\Exception $exception, AbstractContentObject $contentObject=null, $contentObjectConfiguration=array()) | |
Protected Member Functions | |
logException (\Exception $exception, $errorMessage, $code) | |
getLogger () | |
Protected Attributes | |
$configuration = array() | |
Exception handler class for content object rendering
Definition at line 25 of file frontend/Classes/ContentObject/Exception/ProductionExceptionHandler.php.
__construct | ( | array | $configuration = array() | ) |
array | $configuration |
Definition at line 35 of file frontend/Classes/ContentObject/Exception/ProductionExceptionHandler.php.
References ProductionExceptionHandler\$configuration.
|
protected |
Definition at line 79 of file frontend/Classes/ContentObject/Exception/ProductionExceptionHandler.php.
References GeneralUtility\makeInstance().
Referenced by ProductionExceptionHandler\logException().
handle | ( | \Exception | $exception, |
AbstractContentObject | $contentObject = null , |
||
$contentObjectConfiguration = array() |
|||
) |
Handles exceptions thrown during rendering of content objects The handler can decide whether to re-throw the exception or return a nice error message for production context.
\Exception | $exception | |
AbstractContentObject | $contentObject | |
array | $contentObjectConfiguration |
\Exception |
Implements ExceptionHandlerInterface.
Definition at line 51 of file frontend/Classes/ContentObject/Exception/ProductionExceptionHandler.php.
References GeneralUtility\getRandomHexString(), and ProductionExceptionHandler\logException().
|
protected |
\Exception | $exception | |
string | $errorMessage | |
string | $code |
Definition at line 71 of file frontend/Classes/ContentObject/Exception/ProductionExceptionHandler.php.
References ProductionExceptionHandler\getLogger().
Referenced by ProductionExceptionHandler\handle().
|
protected |
Definition at line 30 of file frontend/Classes/ContentObject/Exception/ProductionExceptionHandler.php.
Referenced by ProductionExceptionHandler\__construct().