Class BodyEncoderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.simpleframework.http.core.BodyEncoderException
All Implemented Interfaces:
Serializable

class BodyEncoderException extends IOException
The BodyEncoderException 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 Details

    • BodyEncoderException

      public BodyEncoderException(String message)
      Constructor for the BodyEncoderException object. 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(String message, Throwable cause)
      Constructor for the BodyEncoderException object. 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
      cause - this is the cause of the encoder exception