public class FeignException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
FeignException.BadGateway |
static class |
FeignException.BadRequest |
static class |
FeignException.Conflict |
static class |
FeignException.Forbidden |
static class |
FeignException.GatewayTimeout |
static class |
FeignException.Gone |
static class |
FeignException.InternalServerError |
static class |
FeignException.MethodNotAllowed |
static class |
FeignException.NotAcceptable |
static class |
FeignException.NotFound |
static class |
FeignException.NotImplemented |
static class |
FeignException.ServiceUnavailable |
static class |
FeignException.TooManyRequests |
static class |
FeignException.Unauthorized |
static class |
FeignException.UnprocessableEntity |
static class |
FeignException.UnsupportedMediaType |
Modifier | Constructor and Description |
---|---|
protected |
FeignException(int status,
String message) |
protected |
FeignException(int status,
String message,
byte[] content) |
protected |
FeignException(int status,
String message,
Throwable cause) |
protected |
FeignException(int status,
String message,
Throwable cause,
byte[] content) |
Modifier and Type | Method and Description |
---|---|
byte[] |
content() |
String |
contentUTF8() |
static FeignException |
errorStatus(String methodKey,
Response response) |
int |
status() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected FeignException(int status, String message, Throwable cause, byte[] content)
protected FeignException(int status, String message)
protected FeignException(int status, String message, byte[] content)
public int status()
public byte[] content()
public String contentUTF8()
public static FeignException errorStatus(String methodKey, Response response)
Copyright © 2012–2019 OpenFeign. All rights reserved.