Package org.simpleframework.http.core
Class BodyEncoderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.simpleframework.http.core.BodyEncoderException
-
- All Implemented Interfaces:
java.io.Serializable
class BodyEncoderException extends java.io.IOExceptionTheBodyEncoderExceptionobject is used to represent an exception that is thrown when there is a problem producing the response body. This can be used to wrapIOExceptionobjects that are thrown from the underlying transport.
-
-
Constructor Summary
Constructors Constructor Description BodyEncoderException(java.lang.String message)Constructor for theBodyEncoderExceptionobject.BodyEncoderException(java.lang.String message, java.lang.Throwable cause)Constructor for theBodyEncoderExceptionobject.
-
-
-
Constructor Detail
-
BodyEncoderException
public BodyEncoderException(java.lang.String message)
Constructor for theBodyEncoderExceptionobject. This is used to represent an exception that is thrown when producing the response body. The encoder exception is an I/O exception and thus exceptions can propagate out of stream methods.- Parameters:
message- this is the message describing the exception
-
BodyEncoderException
public BodyEncoderException(java.lang.String message, java.lang.Throwable cause)Constructor for theBodyEncoderExceptionobject. This is used to represent an exception that is thrown when producing the response body. The encoder 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 encoder exception
-
-