Package feign.codec
Class DecodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- feign.FeignException
-
- feign.codec.DecodeException
-
- All Implemented Interfaces:
java.io.Serializable
public class DecodeException extends FeignException
Similar tojavax.websocket.DecodeException
, raised when a problem occurs decoding a message. Note thatDecodeException
is not anIOException
, 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 feign.FeignException
content, contentUTF8, errorStatus, status
-
-
-
-
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.
-
-