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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class feign.FeignException
FeignException.BadGateway, FeignException.BadRequest, FeignException.Conflict, FeignException.Forbidden, FeignException.GatewayTimeout, FeignException.Gone, FeignException.InternalServerError, FeignException.MethodNotAllowed, FeignException.NotAcceptable, FeignException.NotFound, FeignException.NotImplemented, FeignException.ServiceUnavailable, FeignException.TooManyRequests, FeignException.Unauthorized, FeignException.UnprocessableEntity, FeignException.UnsupportedMediaType
-
-
Constructor Summary
Constructors Constructor Description DecodeException(int status, java.lang.String message)
DecodeException(int status, 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(int status, java.lang.String message)
- Parameters:
message
- the reason for the failure.
-
DecodeException
public DecodeException(int status, java.lang.String message, java.lang.Throwable cause)
- Parameters:
message
- possibly null reason for the failure.cause
- the cause of the error.
-
-