类 NacosApiException

  • 所有已实现的接口:
    java.io.Serializable

    public class NacosApiException
    extends NacosException
    Exception for open API.
    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
    另请参阅:
    序列化表格
    • 字段详细资料

      • serialVersionUID

        private static final long serialVersionUID
        serialVersionUID.
        另请参阅:
        常量字段值
      • detailErrCode

        private int detailErrCode
        error code for api v2.0.
      • errAbstract

        private java.lang.String errAbstract
        abstract error description for api v2.0.
    • 构造器详细资料

      • NacosApiException

        public NacosApiException()
      • NacosApiException

        public NacosApiException​(int statusCode,
                                 ErrorCode errorCode,
                                 java.lang.Throwable throwable,
                                 java.lang.String message)
      • NacosApiException

        public NacosApiException​(int statusCode,
                                 ErrorCode errorCode,
                                 java.lang.String message)
    • 方法详细资料

      • getDetailErrCode

        public int getDetailErrCode()
      • getErrAbstract

        public java.lang.String getErrAbstract()
      • setErrAbstract

        public void setErrAbstract​(java.lang.String errAbstract)