public class UnexpectedResponseException extends ServerResponseException
Constructor and Description |
---|
UnexpectedResponseException(int responseCode,
String responseContent) |
UnexpectedResponseException(int responseCode,
String responseContent,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getResponseCode()
Returns the response code received by the server.
|
String |
getResponseContent()
Returns the response content received by the server.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedResponseException(int responseCode, String responseContent, Throwable cause)
public UnexpectedResponseException(int responseCode, String responseContent)
public int getResponseCode()
public String getResponseContent()
Copyright © 2014. All rights reserved.