original_string: private function checkForOaipmhException(HttpException $httpException)
      {
          try {
              if ($resp = $httpException->getBody()) {
                  $this->decodeResponse($resp); // Throw OaipmhException in case of an error
              }
          } catch (MalformedResponseException $e) {
              // There was no valid OAI error in the response, therefore re-throw HttpException
          }
  
          throw $httpException;
      }
code: private function checkForOaipmhException(HttpException $httpException)
      {
          try {
              if ($resp = $httpException->getBody()) {
                  $this->decodeResponse($resp); // Throw OaipmhException in case of an error
              }
          } catch (MalformedResponseException $e) {
              // There was no valid OAI error in the response, therefore re-throw HttpException
          }
  
          throw $httpException;
      }
code_tokens: private function checkForOaipmhException ( HttpException $ httpException ) { try { if ( $ resp = $ httpException -> getBody ( ) ) { $ this -> decodeResponse ( $ resp ) ; // Throw OaipmhException in case of an error } } catch ( MalformedResponseException $ e ) { // There was no valid OAI error in the response, therefore re-throw HttpException } throw $ httpException ; }
docstring: Check for OAI-PMH Exception from HTTP Exception
  
  Converts a HttpException into an OAI-PMH exception if there is an
  OAI-PMH Error Code.
  
  @param HttpException $httpException
docstring_tokens: Check for OAI - PMH Exception from HTTP Exception