Enum ErrorCategory

    • Enum Constant Detail

      • AUTHENTICATION_TOKEN_MISSING

        public static final ErrorCategory AUTHENTICATION_TOKEN_MISSING
      • AUTHENTICATION_INVALID_TOKEN

        public static final ErrorCategory AUTHENTICATION_INVALID_TOKEN
      • UNSUPPORTED_INSTRUCTION

        public static final ErrorCategory UNSUPPORTED_INSTRUCTION
      • INSTRUCTION_ACK_ERROR

        public static final ErrorCategory INSTRUCTION_ACK_ERROR
      • INSTRUCTION_EXECUTION_ERROR

        public static final ErrorCategory INSTRUCTION_EXECUTION_ERROR
      • INVALID_EVENT_SEQUENCE

        public static final ErrorCategory INVALID_EVENT_SEQUENCE
      • NO_EVENT_STORE_MASTER_AVAILABLE

        public static final ErrorCategory NO_EVENT_STORE_MASTER_AVAILABLE
      • EVENT_PAYLOAD_TOO_LARGE

        public static final ErrorCategory EVENT_PAYLOAD_TOO_LARGE
      • CONNECTION_FAILED

        public static final ErrorCategory CONNECTION_FAILED
      • GRPC_MESSAGE_TOO_LARGE

        public static final ErrorCategory GRPC_MESSAGE_TOO_LARGE
      • NO_HANDLER_FOR_COMMAND

        public static final ErrorCategory NO_HANDLER_FOR_COMMAND
      • COMMAND_EXECUTION_ERROR

        public static final ErrorCategory COMMAND_EXECUTION_ERROR
      • COMMAND_DISPATCH_ERROR

        public static final ErrorCategory COMMAND_DISPATCH_ERROR
      • CONCURRENCY_EXCEPTION

        public static final ErrorCategory CONCURRENCY_EXCEPTION
      • NO_HANDLER_FOR_QUERY

        public static final ErrorCategory NO_HANDLER_FOR_QUERY
      • QUERY_EXECUTION_ERROR

        public static final ErrorCategory QUERY_EXECUTION_ERROR
      • QUERY_DISPATCH_ERROR

        public static final ErrorCategory QUERY_DISPATCH_ERROR
      • DATAFILE_READ_ERROR

        public static final ErrorCategory DATAFILE_READ_ERROR
      • INDEX_READ_ERROR

        public static final ErrorCategory INDEX_READ_ERROR
      • DATAFILE_WRITE_ERROR

        public static final ErrorCategory DATAFILE_WRITE_ERROR
      • INDEX_WRITE_ERROR

        public static final ErrorCategory INDEX_WRITE_ERROR
      • DIRECTORY_CREATION_FAILED

        public static final ErrorCategory DIRECTORY_CREATION_FAILED
      • VALIDATION_FAILED

        public static final ErrorCategory VALIDATION_FAILED
      • TRANSACTION_ROLLED_BACK

        public static final ErrorCategory TRANSACTION_ROLLED_BACK
    • Method Detail

      • values

        public static ErrorCategory[] 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 (ErrorCategory c : ErrorCategory.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ErrorCategory 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
      • errorCode

        public String errorCode()