original_string: protected function _getMessage(Exception $exception)
      {
          $message = $this->getMessageForException($exception);
  
          $request = Router::getRequest();
          if ($request) {
              $message .= $this->_requestContext($request);
          }
  
          return $message;
      }
code: protected function _getMessage(Exception $exception)
      {
          $message = $this->getMessageForException($exception);
  
          $request = Router::getRequest();
          if ($request) {
              $message .= $this->_requestContext($request);
          }
  
          return $message;
      }
code_tokens: protected function _getMessage ( Exception $ exception ) { $ message = $ this -> getMessageForException ( $ exception ) ; $ request = Router :: getRequest ( ) ; if ( $ request ) { $ message .= $ this -> _requestContext ( $ request ) ; } return $ message ; }
docstring: Generates a formatted error message
  
  @param \Exception $exception Exception instance
  @return string Formatted message
docstring_tokens: Generates a formatted error message