public function hasExceptionOfCode($code)
    {
        $code = (int) $code;
        foreach ($this->_exceptions as $e) {
            if ($code == $e->getCode()) {
                return true;
            }
        }

        return false;
    }
public function hasExceptionOfCode($code)
    {
        $code = (int) $code;
        foreach ($this->_exceptions as $e) {
            if ($code == $e->getCode()) {
                return true;
            }
        }

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

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