TYPO3  7.6
Public Member Functions | List of all members
ExceptionHandlerInterface Interface Reference
Inheritance diagram for ExceptionHandlerInterface:
AbstractExceptionHandler DebugExceptionHandler ProductionExceptionHandler

Public Member Functions

 __construct ()
 
 handleException (\Exception $exception)
 
 echoExceptionWeb (\Exception $exception)
 
 echoExceptionCLI (\Exception $exception)
 

Detailed Description

Contract for an exception handler

This file is a backport from TYPO3 Flow

Definition at line 22 of file core/Classes/Error/ExceptionHandlerInterface.php.

Constructor & Destructor Documentation

__construct ( )

Constructs this exception handler - registers itself as the default exception handler.

Implemented in ProductionExceptionHandler, and DebugExceptionHandler.

Member Function Documentation

echoExceptionCLI ( \Exception  $exception)

Formats and echoes the exception for the command line

Parameters
\Exception$exceptionThe exception object
Returns
void

Implemented in DebugExceptionHandler, and ProductionExceptionHandler.

Referenced by AbstractExceptionHandler\handleException().

echoExceptionWeb ( \Exception  $exception)

Formats and echoes the exception as XHTML.

Parameters
\Exception$exceptionThe exception object
Returns
void

Implemented in ProductionExceptionHandler, and DebugExceptionHandler.

Referenced by AbstractExceptionHandler\handleException().

handleException ( \Exception  $exception)

Handles the given exception

Parameters
\Exception$exception,:The exception object
Returns
void

Implemented in AbstractExceptionHandler.