-
- All Implemented Interfaces:
-
java.io.Serializable
public final class HttpException extends RuntimeException
Exception for an unexpected, non-2xx HTTP response.
-
-
Constructor Summary
Constructors Constructor Description HttpException(Response response)
-
Method Summary
Modifier and Type Method Description final ResponsegetResponse()ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getResponse
final Response getResponse()
-
getMessage
String getMessage()
-
-
-
-