类 NacosApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.alibaba.nacos.api.exception.NacosException
com.alibaba.nacos.api.exception.api.NacosApiException
- 所有已实现的接口:
Serializable
Exception for open API.
errCode -> HTTP status code inherited from
errMsg -> detail error message inherited from
detailErrCode -> error code for api v2.0
errAbstract -> abstract error message for api v2.0
errCode -> HTTP status code inherited from
NacosException errMsg -> detail error message inherited from
NacosException detailErrCode -> error code for api v2.0
errAbstract -> abstract error message for api v2.0
- 作者:
- dongyafei
- 另请参阅:
-
字段概要
从类继承的字段 com.alibaba.nacos.api.exception.NacosException
BAD_GATEWAY, CLIENT_DISCONNECT, CLIENT_ERROR, CLIENT_INVALID_PARAM, CLIENT_OVER_THRESHOLD, CONFIG_ALREADY_EXISTS, CONFLICT, HTTP_CLIENT_ERROR_CODE, INVALID_PARAM, INVALID_SERVER_STATUS, NO_HANDLER, NO_RIGHT, NOT_FOUND, OVER_THRESHOLD, RESOURCE_NOT_FOUND, SERVER_ERROR, SERVER_NOT_IMPLEMENTED, UN_REGISTER -
构造器概要
构造器构造器说明NacosApiException(int statusCode, ErrorCode errorCode, String message) NacosApiException(int statusCode, ErrorCode errorCode, Throwable throwable, String message) -
方法概要
从类继承的方法 com.alibaba.nacos.api.exception.NacosException
getErrCode, getErrMsg, setCauseThrowable, setErrCode, setErrMsg, toString
-
构造器详细资料
-
NacosApiException
public NacosApiException() -
NacosApiException
-
NacosApiException
-
-
方法详细资料
-
getDetailErrCode
public int getDetailErrCode() -
getErrAbstract
-