public class GtFeignException
extends feign.FeignException
| 限定符 | 构造器和说明 |
|---|---|
protected |
GtFeignException(int status,
String message) |
protected |
GtFeignException(int status,
String message,
List<Object> errors,
String body,
int code) |
| 限定符和类型 | 方法和说明 |
|---|---|
static GtFeignException |
errorStatus(String methodKey,
feign.Response response) |
int |
getCode() |
List<Object> |
getErrors() |
String |
getMsgBody() |
void |
setCode(int code) |
void |
setErrors(List<Object> errors) |
void |
setMsgBody(String msgBody) |
protected GtFeignException(int status,
String message)
public static GtFeignException errorStatus(String methodKey, feign.Response response)
public String getMsgBody()
public void setMsgBody(String msgBody)
public int getCode()
public void setCode(int code)
Copyright © 2021 GTMAP. All rights reserved.