Package org.bremersee.exception.feign
Class FeignClientExceptionErrorDecoder
- java.lang.Object
-
- org.bremersee.exception.feign.FeignClientExceptionErrorDecoder
-
- All Implemented Interfaces:
feign.codec.ErrorDecoder
public class FeignClientExceptionErrorDecoder extends Object implements feign.codec.ErrorDecoder
This error decoder produces either aFeignClientException
or aRetryableException
.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description FeignClientExceptionErrorDecoder()
Instantiates a new feign client exception error decoder.FeignClientExceptionErrorDecoder(RestApiExceptionParser parser)
Instantiates a new Feign client exception error decoder.
-
-
-
Constructor Detail
-
FeignClientExceptionErrorDecoder
public FeignClientExceptionErrorDecoder()
Instantiates a new feign client exception error decoder.
-
FeignClientExceptionErrorDecoder
public FeignClientExceptionErrorDecoder(RestApiExceptionParser parser)
Instantiates a new Feign client exception error decoder.- Parameters:
parser
- the parser
-
-