public class RequestFailedException extends Exception
This exception is thrown, when a request to the Webservice failed. The exception holds further informations about the failed request.
Modifier and Type | Field and Description |
---|---|
Messages |
responseMessages
Messages , that were received in the body of the HTTP response. |
int |
statusCode
Status code of the failed HTTP request.
|
String |
statusMessage
Status message of the failed HTTP request.
|
Constructor and Description |
---|
RequestFailedException(Response response,
String message) |
RequestFailedException(Response response,
String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final int statusCode
public final String statusMessage
Copyright © 2014 OpenEstate. All rights reserved.