类 NodeRPCException

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

    public class NodeRPCException
    extends java.io.IOException
    Main error response exception for internal usage.

    The APIs of SDK need translate this to the specific exception.

    另请参阅:
    序列化表格
    • 字段详细资料

      • BAD_REQUEST

        public static final int BAD_REQUEST
        另请参阅:
        常量字段值
      • UNAUTHORIZED

        public static final int UNAUTHORIZED
        另请参阅:
        常量字段值
      • FORBIDDEN

        public static final int FORBIDDEN
        另请参阅:
        常量字段值
      • NOT_FOUND

        public static final int NOT_FOUND
        另请参阅:
        常量字段值
      • ALREADY_EXISTS

        public static final int ALREADY_EXISTS
        另请参阅:
        常量字段值
      • INSUFFICIENT_STORAGE

        public static final int INSUFFICIENT_STORAGE
        另请参阅:
        常量字段值
      • IC_INVALID_PARAMETER

        public static final int IC_INVALID_PARAMETER
        另请参阅:
        常量字段值
      • IC_BACKUP_IS_IN_PROCESSING

        public static final int IC_BACKUP_IS_IN_PROCESSING
        另请参阅:
        常量字段值
    • 构造器详细资料

      • NodeRPCException

        public NodeRPCException​(int code,
                                int internalCode,
                                java.lang.String message)
    • 方法详细资料

      • getCode

        public int getCode()
      • getInternalCode

        public int getInternalCode()