Class FeignClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
feign.FeignException
feign.RetryableException
org.qubership.atp.auth.springbootstarter.feign.exception.FeignClientException
- All Implemented Interfaces:
Serializable
public class FeignClientException
extends feign.RetryableException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class feign.FeignException
feign.FeignException.BadGateway, feign.FeignException.BadRequest, feign.FeignException.Conflict, feign.FeignException.FeignClientException, feign.FeignException.FeignServerException, feign.FeignException.Forbidden, feign.FeignException.GatewayTimeout, feign.FeignException.Gone, feign.FeignException.InternalServerError, feign.FeignException.MethodNotAllowed, feign.FeignException.NotAcceptable, feign.FeignException.NotFound, feign.FeignException.NotImplemented, feign.FeignException.ServiceUnavailable, feign.FeignException.TooManyRequests, feign.FeignException.Unauthorized, feign.FeignException.UnprocessableEntity, feign.FeignException.UnsupportedMediaType -
Constructor Summary
ConstructorsConstructorDescriptionFeignClientException(Integer status, String errorMessage, feign.Request.HttpMethod httpMethod, Map<String, Collection<String>> headers, feign.Request request) Constructor forFeignException.FeignClientException. -
Method Summary
Methods inherited from class feign.RetryableException
method, retryAfterMethods inherited from class feign.FeignException
content, contentUTF8, errorStatus, errorStatus, hasRequest, request, responseBody, responseHeaders, statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FeignClientException
public FeignClientException(Integer status, String errorMessage, feign.Request.HttpMethod httpMethod, Map<String, Collection<String>> headers, feign.Request request) Constructor forFeignException.FeignClientException.- Parameters:
status- Http Status codeerrorMessage- Error messagehttpMethod- Http Methodheaders- Http headers maprequest- Http Request.
-