Class UnexpectedResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.httpclient.api.UnexpectedResponseException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a response completed normally but that produced an
unexpected status code.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedResponseException(Response response) Creates a new exception for the given response. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UnexpectedResponseException
Creates a new exception for the given response.- Parameters:
response- The unexpected response
-
-
Method Details
-
getResponse
-
toString
-