public function hasExceptionOfMessage($message)
    {
        foreach ($this->_exceptions as $e) {
            if ($message == $e->getMessage()) {
                return true;
            }
        }

        return false;
    }
public function hasExceptionOfMessage($message)
    {
        foreach ($this->_exceptions as $e) {
            if ($message == $e->getMessage()) {
                return true;
            }
        }

        return false;
    }
public function hasExceptionOfMessage ( $ message ) { foreach ( $ this -> _exceptions as $ e ) { if ( $ message == $ e -> getMessage ( ) ) { return true ; } } return false ; }
Does the response object contain an exception with a given message?

@param  string $message
@return boolean
Does the response object contain an exception with a given message?