Package com.amilesend.client.connection
Class ResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amilesend.client.connection.ConnectionException
com.amilesend.client.connection.ResponseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ResponseParseException
Defines the exception thrown from
Connection
that is specific to an issue with a response.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResponseException
(String msg) Creates a newResponseException
.ResponseException
(String msg, Throwable cause) Creates a newResponseException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResponseException
Creates a newResponseException
.- Parameters:
msg
- the exception message
-
ResponseException
Creates a newResponseException
.- Parameters:
msg
- the exception messagecause
- the cause of the exception
-