public static enum CommandError.Reason extends Enum<CommandError.Reason>
Enum Constant and Description |
---|
AggregateNotFound |
CommandHandlerFailed |
CommandPublishError |
InternalError |
InvalidCommand |
InvalidReadSequence |
RemoteLookupFailed |
Timeout |
UnexpectedErrorCode |
Modifier and Type | Method and Description |
---|---|
static CommandError.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandError.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandError.Reason InvalidCommand
public static final CommandError.Reason InvalidReadSequence
public static final CommandError.Reason CommandHandlerFailed
public static final CommandError.Reason AggregateNotFound
public static final CommandError.Reason Timeout
public static final CommandError.Reason RemoteLookupFailed
public static final CommandError.Reason CommandPublishError
public static final CommandError.Reason InternalError
public static final CommandError.Reason UnexpectedErrorCode
public static CommandError.Reason[] values()
for (CommandError.Reason c : CommandError.Reason.values()) System.out.println(c);
public static CommandError.Reason 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 nullCopyright © 2019. All rights reserved.