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