类 KvStorageException

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

    public class KvStorageException
    extends com.alibaba.nacos.api.exception.NacosException
    RocksDB Exception.
    作者:
    liaochuntao
    另请参阅:
    序列化表格
    • 字段概要

      • 从类继承的字段 com.alibaba.nacos.api.exception.NacosException

        BAD_GATEWAY, CLIENT_DISCONNECT, CLIENT_ERROR, CLIENT_INVALID_PARAM, CLIENT_OVER_THRESHOLD, CONFLICT, HTTP_CLIENT_ERROR_CODE, INVALID_PARAM, INVALID_SERVER_STATUS, NO_HANDLER, NO_RIGHT, NOT_FOUND, OVER_THRESHOLD, RESOURCE_NOT_FOUND, SERVER_ERROR, UN_REGISTER
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      int getErrCode()  
      java.lang.String getErrMsg()  
      void setCauseThrowable​(java.lang.Throwable throwable)  
      void setErrCode​(int errCode)  
      void setErrMsg​(java.lang.String errMsg)  
      java.lang.String toString()  
      • 从类继承的方法 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • KvStorageException

        public KvStorageException()
      • KvStorageException

        public KvStorageException​(ErrorCode code,
                                  java.lang.String errMsg)
      • KvStorageException

        public KvStorageException​(ErrorCode errCode,
                                  java.lang.Throwable throwable)
      • KvStorageException

        public KvStorageException​(ErrorCode errCode,
                                  java.lang.String errMsg,
                                  java.lang.Throwable throwable)
      • KvStorageException

        public KvStorageException​(int errCode,
                                  java.lang.String errMsg)
      • KvStorageException

        public KvStorageException​(int errCode,
                                  java.lang.Throwable throwable)
      • KvStorageException

        public KvStorageException​(int errCode,
                                  java.lang.String errMsg,
                                  java.lang.Throwable throwable)
    • 方法详细资料

      • getErrCode

        public int getErrCode()
        覆盖:
        getErrCode 在类中 com.alibaba.nacos.api.exception.NacosException
      • getErrMsg

        public java.lang.String getErrMsg()
        覆盖:
        getErrMsg 在类中 com.alibaba.nacos.api.exception.NacosException
      • setErrCode

        public void setErrCode​(int errCode)
        覆盖:
        setErrCode 在类中 com.alibaba.nacos.api.exception.NacosException
      • setErrMsg

        public void setErrMsg​(java.lang.String errMsg)
        覆盖:
        setErrMsg 在类中 com.alibaba.nacos.api.exception.NacosException
      • setCauseThrowable

        public void setCauseThrowable​(java.lang.Throwable throwable)
        覆盖:
        setCauseThrowable 在类中 com.alibaba.nacos.api.exception.NacosException
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 com.alibaba.nacos.api.exception.NacosException