public enum ErrorCategory extends Enum<ErrorCategory>
| Modifier and Type | Method and Description |
|---|---|
String |
errorCode() |
static ErrorCategory |
getFromCode(String code) |
static ErrorCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCategory AUTHENTICATION_TOKEN_MISSING
public static final ErrorCategory AUTHENTICATION_INVALID_TOKEN
public static final ErrorCategory UNSUPPORTED_INSTRUCTION
public static final ErrorCategory INSTRUCTION_ACK_ERROR
public static final ErrorCategory INSTRUCTION_EXECUTION_ERROR
public static final ErrorCategory INVALID_EVENT_SEQUENCE
public static final ErrorCategory NO_EVENT_STORE_MASTER_AVAILABLE
public static final ErrorCategory EVENT_PAYLOAD_TOO_LARGE
public static final ErrorCategory CONNECTION_FAILED
public static final ErrorCategory GRPC_MESSAGE_TOO_LARGE
public static final ErrorCategory NO_HANDLER_FOR_COMMAND
public static final ErrorCategory COMMAND_EXECUTION_ERROR
public static final ErrorCategory COMMAND_DISPATCH_ERROR
public static final ErrorCategory CONCURRENCY_EXCEPTION
public static final ErrorCategory NO_HANDLER_FOR_QUERY
public static final ErrorCategory QUERY_EXECUTION_ERROR
public static final ErrorCategory QUERY_DISPATCH_ERROR
public static final ErrorCategory DATAFILE_READ_ERROR
public static final ErrorCategory INDEX_READ_ERROR
public static final ErrorCategory DATAFILE_WRITE_ERROR
public static final ErrorCategory INDEX_WRITE_ERROR
public static final ErrorCategory DIRECTORY_CREATION_FAILED
public static final ErrorCategory VALIDATION_FAILED
public static final ErrorCategory TRANSACTION_ROLLED_BACK
public static final ErrorCategory OTHER
public static ErrorCategory[] values()
for (ErrorCategory c : ErrorCategory.values()) System.out.println(c);
public static ErrorCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ErrorCategory getFromCode(String code)
public String errorCode()
Copyright © 2020–2023 AxonIQ BV. All rights reserved.