TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\ContentObject\Exception\ExceptionHandlerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\Exception\ExceptionHandlerInterface:
TYPO3\CMS\Frontend\ContentObject\Exception\ProductionExceptionHandler

Public Member Functions

 handle (\Exception $exception, AbstractContentObject $contentObject=null, $contentObjectConfiguration=[])
 

Detailed Description

Interface ExceptionHandlerInterface

Definition at line 22 of file ExceptionHandlerInterface.php.

Member Function Documentation

◆ handle()

TYPO3\CMS\Frontend\ContentObject\Exception\ExceptionHandlerInterface::handle ( \Exception  $exception,
AbstractContentObject  $contentObject = null,
  $contentObjectConfiguration = [] 
)

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.

Parameters
\Exception$exception
AbstractContentObject$contentObject
array$contentObjectConfiguration
Returns
string

Implemented in TYPO3\CMS\Frontend\ContentObject\Exception\ProductionExceptionHandler.