ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This exception represents a HTTP error coming from the Client. More...
Public Member Functions | |
__construct (ResponseInterface $response) | |
Constructor. More... | |
getHttpStatus () | |
The http status code for the error. More... | |
getResponse () | |
Returns the full response object. More... | |
Protected Attributes | |
$response | |
This exception represents a HTTP error coming from the Client.
By default the Client will not emit these, this has to be explicitly enabled with the setThrowExceptions method.
Definition at line 15 of file ClientHttpException.php.
Sabre\HTTP\ClientHttpException::__construct | ( | ResponseInterface | $response | ) |
Constructor.
ResponseInterface | $response |
Definition at line 29 of file ClientHttpException.php.
References Sabre\HTTP\ClientHttpException\$response, Sabre\HTTP\ResponseInterface\getStatus(), and Sabre\HTTP\ResponseInterface\getStatusText().
Sabre\HTTP\ClientHttpException::getHttpStatus | ( | ) |
The http status code for the error.
Implements Sabre\HTTP\HttpException.
Definition at line 41 of file ClientHttpException.php.
Referenced by Sabre\HTTP\ClientTest\testHttpErrorException().
Sabre\HTTP\ClientHttpException::getResponse | ( | ) |
Returns the full response object.
Definition at line 52 of file ClientHttpException.php.
References Sabre\HTTP\ClientHttpException\$response.
Referenced by Sabre\HTTP\ClientTest\testHttpErrorException().
|
protected |
Definition at line 22 of file ClientHttpException.php.
Referenced by Sabre\HTTP\ClientHttpException\__construct(), and Sabre\HTTP\ClientHttpException\getResponse().