Enum ErrorClass

    • Enum Constant Detail

      • TRANSACTION_OPERATION_FAILED

        public static final ErrorClass TRANSACTION_OPERATION_FAILED
      • FAIL_TRANSIENT

        public static final ErrorClass FAIL_TRANSIENT
      • FAIL_HARD

        public static final ErrorClass FAIL_HARD
      • FAIL_OTHER

        public static final ErrorClass FAIL_OTHER
      • FAIL_AMBIGUOUS

        public static final ErrorClass FAIL_AMBIGUOUS
      • FAIL_DOC_ALREADY_EXISTS

        public static final ErrorClass FAIL_DOC_ALREADY_EXISTS
      • FAIL_DOC_NOT_FOUND

        public static final ErrorClass FAIL_DOC_NOT_FOUND
      • FAIL_PATH_ALREADY_EXISTS

        public static final ErrorClass FAIL_PATH_ALREADY_EXISTS
      • FAIL_PATH_NOT_FOUND

        public static final ErrorClass FAIL_PATH_NOT_FOUND
      • FAIL_CAS_MISMATCH

        public static final ErrorClass FAIL_CAS_MISMATCH
      • FAIL_EXPIRY

        public static final ErrorClass FAIL_EXPIRY
      • FAIL_WRITE_WRITE_CONFLICT

        public static final ErrorClass FAIL_WRITE_WRITE_CONFLICT
      • FAIL_ATR_FULL

        public static final ErrorClass FAIL_ATR_FULL
    • Method Detail

      • values

        public static ErrorClass[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ErrorClass c : ErrorClass.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ErrorClass valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isFailTransient

        public static boolean isFailTransient​(Throwable e)
      • isFailHard

        public static boolean isFailHard​(Throwable e)
      • isFailAmbiguous

        public static boolean isFailAmbiguous​(Throwable e)