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