original_string: protected function dumpException(\Exception $e)
      {
          Logger::log('Starting dump exception');
          $ex = (NULL !== $e->getPrevious()) ? $e->getPrevious() : $e;
          $error = array(
              "error" => $ex->getMessage(),
              "file" => $ex->getFile(),
              "line" => $ex->getLine(),
          );
          Logger::log('Throwing exception', LOG_ERR, $error);
          unset($error);
  
          return $this->router->httpNotFound($ex);
      }
code: protected function dumpException(\Exception $e)
      {
          Logger::log('Starting dump exception');
          $ex = (NULL !== $e->getPrevious()) ? $e->getPrevious() : $e;
          $error = array(
              "error" => $ex->getMessage(),
              "file" => $ex->getFile(),
              "line" => $ex->getLine(),
          );
          Logger::log('Throwing exception', LOG_ERR, $error);
          unset($error);
  
          return $this->router->httpNotFound($ex);
      }
code_tokens: protected function dumpException ( \ Exception $ e ) { Logger :: log ( 'Starting dump exception' ) ; $ ex = ( NULL !== $ e -> getPrevious ( ) ) ? $ e -> getPrevious ( ) : $ e ; $ error = array ( "error" => $ ex -> getMessage ( ) , "file" => $ ex -> getFile ( ) , "line" => $ ex -> getLine ( ) , ) ; Logger :: log ( 'Throwing exception' , LOG_ERR , $ error ) ; unset ( $ error ) ; return $ this -> router -> httpNotFound ( $ ex ) ; }
docstring: Method that convert an exception to html
  
  @param \Exception $e
  
  @return string HTML
docstring_tokens: Method that convert an exception to html