public function convertExceptionToHtml($exception)
    {
        $flat = $this->getFlattenedException($exception);

        $handler = new SymfonyExceptionHandler();

        return $this->decorate($handler->getContent($flat), $handler->getStylesheet($flat), $flat);
    }
public function convertExceptionToHtml($exception)
    {
        $flat = $this->getFlattenedException($exception);

        $handler = new SymfonyExceptionHandler();

        return $this->decorate($handler->getContent($flat), $handler->getStylesheet($flat), $flat);
    }
public function convertExceptionToHtml ( $ exception ) { $ flat = $ this -> getFlattenedException ( $ exception ) ; $ handler = new SymfonyExceptionHandler ( ) ; return $ this -> decorate ( $ handler -> getContent ( $ flat ) , $ handler -> getStylesheet ( $ flat ) , $ flat ) ; }
Create a html for the given exception.

@param  \Exception $exception
@return string
Create a html for the given exception .