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, toString
public 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 Throwable
Copyright © 2013. All Rights Reserved.