public enum AxonErrorMapping extends Enum<AxonErrorMapping>
| Modifier and Type | Method and Description |
|---|---|
static org.axonframework.common.AxonException |
convert(Throwable t) |
static Class<? extends org.axonframework.common.AxonException> |
lookupExceptionClass(String code) |
static AxonErrorMapping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxonErrorMapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxonErrorMapping AUTHENTICATION_TOKEN_MISSING
public static final AxonErrorMapping AUTHENTICATION_INVALID_TOKEN
public static final AxonErrorMapping NODE_IS_REPLICA
public static final AxonErrorMapping INVALID_SEQUENCE
public static final AxonErrorMapping PAYLOAD_TOO_LARGE
public static final AxonErrorMapping NO_MASTER_AVAILABLE
public static final AxonErrorMapping DATAFILE_READ_ERROR
public static final AxonErrorMapping INDEX_READ_ERROR
public static final AxonErrorMapping DATAFILE_WRITE_ERROR
public static final AxonErrorMapping INDEX_WRITE_ERROR
public static final AxonErrorMapping DIRECTORY_CREATION_FAILED
public static final AxonErrorMapping VALIDATION_FAILED
public static final AxonErrorMapping TRANSACTION_ROLLED_BACK
public static final AxonErrorMapping OTHER
public static AxonErrorMapping[] values()
for (AxonErrorMapping c : AxonErrorMapping.values()) System.out.println(c);
public static AxonErrorMapping 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 Class<? extends org.axonframework.common.AxonException> lookupExceptionClass(String code)
public static org.axonframework.common.AxonException convert(Throwable t)
Copyright © 2017–2018. All rights reserved.