class ExceptionHandler

ExceptionHandler converts an exception to a Response object.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of ExceptionHandler

Deprecated

Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php, line 23

Namespace

Symfony\Component\HttpKernel\Debug
View source
class ExceptionHandler extends DebugExceptionHandler {

}

Members

Namesort descending Modifiers Type Description Overrides
ExceptionHandler::$charset private property
ExceptionHandler::$debug private property
ExceptionHandler::abbrClass private function
ExceptionHandler::createResponse public function Creates the error Response associated with the given Exception.
ExceptionHandler::decorate private function
ExceptionHandler::formatArgs private function Formats an array as a string.
ExceptionHandler::getContent public function Gets the HTML content associated with the given exception.
ExceptionHandler::getStylesheet public function Gets the stylesheet associated with the given exception.
ExceptionHandler::handle public function Sends a response for the given Exception.
ExceptionHandler::register public static function Registers the exception handler.
ExceptionHandler::sendPhpResponse public function Sends the error associated with the given Exception as a plain PHP response.
ExceptionHandler::__construct public function