You are here

class ExceptionHandler in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/debug/ExceptionHandler.php \Symfony\Component\Debug\ExceptionHandler
  2. 8 vendor/symfony/http-kernel/Debug/ExceptionHandler.php \Symfony\Component\HttpKernel\Debug\ExceptionHandler
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Debug/ExceptionHandler.php \Symfony\Component\HttpKernel\Debug\ExceptionHandler

ExceptionHandler converts an exception to a Response object.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of ExceptionHandler

Deprecated

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

File

vendor/symfony/http-kernel/Debug/ExceptionHandler.php, line 25

Namespace

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

}

Members

Namesort descending Modifiers Type Description Overrides
ExceptionHandler::$caughtBuffer private property
ExceptionHandler::$caughtLength private property
ExceptionHandler::$charset private property
ExceptionHandler::$debug private property
ExceptionHandler::$fileLinkFormat private property
ExceptionHandler::$handler private property
ExceptionHandler::catchOutput public function @internal
ExceptionHandler::cleanOutput public function @internal
ExceptionHandler::createResponse public function Creates the error Response associated with the given Exception.
ExceptionHandler::decorate private function
ExceptionHandler::escapeHtml private function HTML-encodes a string.
ExceptionHandler::failSafeHandle private function Sends a response for the given Exception.
ExceptionHandler::formatArgs private function Formats an array as a string.
ExceptionHandler::formatClass private function
ExceptionHandler::formatPath private function
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::setFileLinkFormat public function Sets the format for links to source files.
ExceptionHandler::setHandler public function Sets a user exception handler.
ExceptionHandler::utf8Htmlize Deprecated protected static function Returns an UTF-8 and HTML encoded string.
ExceptionHandler::__construct public function