public class HttpResponseException extends Error
| Constructor and Description |
|---|
HttpResponseException(int expectedResponse,
int actualResponse) |
HttpResponseException(Throwable cause,
String body,
int[] expectedResponses,
int actualResponse) |
HttpResponseException(Throwable cause,
String body,
int expectedResponse,
int actualResponse) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActualResponse() |
String |
getBody() |
int |
getExpectedResponse() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpResponseException(Throwable cause, String body, int expectedResponse, int actualResponse)
public HttpResponseException(Throwable cause, String body, int[] expectedResponses, int actualResponse)
public HttpResponseException(int expectedResponse,
int actualResponse)
public int getExpectedResponse()
public int getActualResponse()
public String getBody()
public String getMessage()
getMessage in class ThrowableCopyright © 2013. All Rights Reserved.