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