Class ResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.simpleframework.http.core.ResponseException
- All Implemented Interfaces:
Serializable
The
ResponseException object is used to represent an
exception that is thrown when there is a problem producing the
response body. This can be used to wrap IOException
objects that are thrown from the underlying transport.-
Constructor Summary
ConstructorsConstructorDescriptionResponseException(String message) Constructor for theResponseExceptionobject.ResponseException(String message, Throwable cause) Constructor for theResponseExceptionobject. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResponseException
Constructor for theResponseExceptionobject. This is used to represent an exception that is thrown when producing the response body. The producer exception is an I/O exception and thus exceptions can propagate out of stream methods.- Parameters:
message- this is the message describing the exception
-
ResponseException
Constructor for theResponseExceptionobject. This is used to represent an exception that is thrown when producing the response body. The producer exception is an I/O exception and thus exceptions can propagate out of stream methods.- Parameters:
message- this is the message describing the exceptioncause- this is the cause of the producer exception
-