Class BodyEncoderException

  • All Implemented Interfaces:
    java.io.Serializable

    class BodyEncoderException
    extends java.io.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 Summary

      Constructors 
      Constructor Description
      BodyEncoderException​(java.lang.String message)
      Constructor for the BodyEncoderException object.
      BodyEncoderException​(java.lang.String message, java.lang.Throwable cause)
      Constructor for the BodyEncoderException object.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BodyEncoderException

        public BodyEncoderException​(java.lang.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​(java.lang.String message,
                                    java.lang.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