Class NacosException

    • Field Detail

      • CLIENT_INVALID_PARAM

        public static final int CLIENT_INVALID_PARAM
        invalid param(参数错误)
        See Also:
        Constant Field Values
      • CLIENT_OVER_THRESHOLD

        public static final int CLIENT_OVER_THRESHOLD
        over client threshold(超过server端的限流阈值)
        See Also:
        Constant Field Values
      • INVALID_PARAM

        public static final int INVALID_PARAM
        invalid param(参数错误)
        See Also:
        Constant Field Values
      • CONFLICT

        public static final int CONFLICT
        conflict(写并发冲突)
        See Also:
        Constant Field Values
      • SERVER_ERROR

        public static final int SERVER_ERROR
        server error(server异常,如超时)
        See Also:
        Constant Field Values
      • BAD_GATEWAY

        public static final int BAD_GATEWAY
        bad gateway(路由异常,如nginx后面的Server挂掉)
        See Also:
        Constant Field Values
      • OVER_THRESHOLD

        public static final int OVER_THRESHOLD
        over threshold(超过server端的限流阈值)
        See Also:
        Constant Field Values
    • Constructor Detail

      • NacosException

        public NacosException()
      • NacosException

        public NacosException​(int errCode,
                              String errMsg)
    • Method Detail

      • getErrCode

        public int getErrCode()
      • getErrMsg

        public String getErrMsg()
      • setErrCode

        public void setErrCode​(int errCode)
      • setErrMsg

        public void setErrMsg​(String errMsg)