Package feign.codec

Class EncodeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EncodeException
    extends FeignException
    Similar to javax.websocket.EncodeException, raised when a problem occurs encoding a message. Note that EncodeException is not an IOException, nor does it have one set as its cause.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EncodeException​(java.lang.String message)  
      EncodeException​(java.lang.String message, java.lang.Throwable cause)  
    • 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

      • EncodeException

        public EncodeException​(java.lang.String message)
        Parameters:
        message - the reason for the failure.
      • EncodeException

        public EncodeException​(java.lang.String message,
                               java.lang.Throwable cause)
        Parameters:
        message - possibly null reason for the failure.
        cause - the cause of the error.