public enum CommandErrorType extends java.lang.Enum<CommandErrorType>
Enumeration defining the errors that can occur for a command.
You can obtain the CommandErrorType
by calling getError()
on a CommandErrorEvent
.
Enum Constant and Description |
---|
CANCELLED
Disconnect occurred and a command set as cancellable has been cancelled.
|
DELETED
The subject has been deleted.
|
DISCONNECT_OCCURRED
The command may have been sent to server, but disconnect occurred.
|
INVALID_PARAMETERS
The supplied command parameters are invalid for the command.
|
NOT_FOUND
The command subject could not be found.
|
READ_DENIED
The client does not have permission to read the subject.
|
THROTTLE_FAILED
The throttle command failed.
|
UNAVAILABLE
The subject is not available.
|
WRITE_DENIED
The client does not have permission to write to the subject.
|
WRITE_DENIED_TRADE_GROUP_LICENSE_EXCEEDED
The Liberator has detected a breach of license conditions and has rejected the attempted trade.
|
Modifier and Type | Method and Description |
---|---|
static CommandErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandErrorType DELETED
The subject has been deleted.
public static final CommandErrorType DISCONNECT_OCCURRED
The command may have been sent to server, but disconnect occurred. The command may not have been executed.
public static final CommandErrorType INVALID_PARAMETERS
The supplied command parameters are invalid for the command.
public static final CommandErrorType NOT_FOUND
The command subject could not be found.
public static final CommandErrorType READ_DENIED
The client does not have permission to read the subject.
public static final CommandErrorType THROTTLE_FAILED
The throttle command failed.
public static final CommandErrorType UNAVAILABLE
The subject is not available.
public static final CommandErrorType WRITE_DENIED
The client does not have permission to write to the subject.
public static final CommandErrorType WRITE_DENIED_TRADE_GROUP_LICENSE_EXCEEDED
The Liberator has detected a breach of license conditions and has rejected the attempted trade.
public static final CommandErrorType CANCELLED
Disconnect occurred and a command set as cancellable has been cancelled.
public static CommandErrorType[] values()
for (CommandErrorType c : CommandErrorType.values()) System.out.println(c);
public static CommandErrorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullPlease send bug reports and comments to Caplin support