public class UnexpectedResponseException extends ApiException
Constructor and Description |
---|
UnexpectedResponseException(HttpResponse response)
Creates a new unexpected response exception.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
getResponse()
Returns the HTTP response that could not be handled.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedResponseException(HttpResponse response)
response
- the response that was unexpectedpublic HttpResponse getResponse()
Copyright © 2016–2019 CLX Communications. All rights reserved.