# Class HttpResponseException

  Exception
  OpenCloud\Common\Exceptions\HttpResponseException

#### Direct known subclasses

OpenCloud\Common\Exceptions\ForbiddenOperationException, OpenCloud\Common\Exceptions\ResourceNotFoundException
Namespace: OpenCloud\Common\Exceptions
Located at OpenCloud/Common/Exceptions/HttpResponseException.php

Methods summary
`public RequestException` | # `setRequest( Guzzle\Http\Message\RequestInterface $request )` Set the request that caused the exception Set the request that caused the exception #### Parameters $request `Guzzle\Http\Message\RequestInterface` $request Request to set #### Returns `RequestException`
`public Guzzle\Http\Message\RequestInterface` | # `getRequest( )` Get the request that caused the exception Get the request that caused the exception #### Returns `Guzzle\Http\Message\RequestInterface`
`public` | # `setResponse( Guzzle\Http\Message\Response $response )` Set the response that caused the exception Set the response that caused the exception #### Parameters $response `Guzzle\Http\Message\Response` $response Response to set
`public Guzzle\Http\Message\Response` | # `getResponse( )` Get the response that caused the exception Get the response that caused the exception #### Returns `Guzzle\Http\Message\Response`

Methods inherited from Exception
`__construct(), __toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()`

Properties summary
`protected mixed` | $response | `` | #
`protected mixed` | $request | `` | #

Properties inherited from Exception
`$code, $file, $line, $message`