Package feign.codec

Class DecodeException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      DecodeException​(java.lang.String message)  
      DecodeException​(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

      • DecodeException

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

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