类 NacosException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.alibaba.nacos.api.exception.NacosException
- 所有已实现的接口:
Serializable
Nacos Exception.
- 作者:
- Nacos
- 另请参阅:
- 序列化表格
-
字段概要
字段修饰符和类型字段说明static intbad gateway(路由异常,如nginx后面的Server挂掉).static intclient disconnect.static intinvalid param(参数错误).static intover client threshold(超过client端的限流阈值).static intconflict(写并发冲突).static inthttp client error code, ome exceptions that occurred when the use the Nacos RestTemplate and Nacos AsyncRestTemplate.static intinvalid param(参数错误).static intServer is not started.static intNo Handler Found.static intno right(鉴权失败).static intnot found.static intover threshold(超过server端的限流阈值).static intstatic intserver error(server异常,如超时).static intConnection is not registered. -
构造器概要
构造器构造器说明NacosException(int errCode, String errMsg)NacosException(int errCode, String errMsg, Throwable throwable)NacosException(int errCode, Throwable throwable) -
方法概要
修饰符和类型方法说明intvoidsetCauseThrowable(Throwable throwable)voidsetErrCode(int errCode)voidtoString()
-
字段详细资料
-
CLIENT_INVALID_PARAM
public static final int CLIENT_INVALID_PARAMinvalid param(参数错误).- 另请参阅:
- 常量字段值
-
CLIENT_DISCONNECT
public static final int CLIENT_DISCONNECTclient disconnect.- 另请参阅:
- 常量字段值
-
CLIENT_OVER_THRESHOLD
public static final int CLIENT_OVER_THRESHOLDover client threshold(超过client端的限流阈值).- 另请参阅:
- 常量字段值
-
INVALID_PARAM
public static final int INVALID_PARAMinvalid param(参数错误).- 另请参阅:
- 常量字段值
-
NO_RIGHT
public static final int NO_RIGHTno right(鉴权失败).- 另请参阅:
- 常量字段值
-
NOT_FOUND
public static final int NOT_FOUNDnot found.- 另请参阅:
- 常量字段值
-
CONFLICT
public static final int CONFLICTconflict(写并发冲突).- 另请参阅:
- 常量字段值
-
SERVER_ERROR
public static final int SERVER_ERRORserver error(server异常,如超时).- 另请参阅:
- 常量字段值
-
BAD_GATEWAY
public static final int BAD_GATEWAYbad gateway(路由异常,如nginx后面的Server挂掉).- 另请参阅:
- 常量字段值
-
OVER_THRESHOLD
public static final int OVER_THRESHOLDover threshold(超过server端的限流阈值).- 另请参阅:
- 常量字段值
-
INVALID_SERVER_STATUS
public static final int INVALID_SERVER_STATUSServer is not started.- 另请参阅:
- 常量字段值
-
UN_REGISTER
public static final int UN_REGISTERConnection is not registered.- 另请参阅:
- 常量字段值
-
NO_HANDLER
public static final int NO_HANDLERNo Handler Found.- 另请参阅:
- 常量字段值
-
RESOURCE_NOT_FOUND
public static final int RESOURCE_NOT_FOUND- 另请参阅:
- 常量字段值
-
HTTP_CLIENT_ERROR_CODE
public static final int HTTP_CLIENT_ERROR_CODEhttp client error code, ome exceptions that occurred when the use the Nacos RestTemplate and Nacos AsyncRestTemplate.- 另请参阅:
- 常量字段值
-
-
构造器详细资料
-
NacosException
public NacosException() -
NacosException
-
NacosException
-
NacosException
-
-
方法详细资料