java.lang.Objectjava.lang.Enum<JFException.Error>
com.dukascopy.api.JFException.Error
public static enum JFException.Error
Used to easily create exceptions with appropriate message
| Method Summary | |
|---|---|
static JFException.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JFException.Error[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JFException.Error LABEL_INCONSISTENT
public static final JFException.Error LABEL_NOT_UNIQUE
public static final JFException.Error ORDER_INCORRECT
public static final JFException.Error INVALID_AMOUNT
public static final JFException.Error CALL_INCORRECT
public static final JFException.Error QUEUE_OVERLOADED
public static final JFException.Error THREAD_INCORRECT
public static final JFException.Error COMMAND_IS_NULL
public static final JFException.Error ZERO_PRICE_NOT_ALLOWED
public static final JFException.Error ORDERS_UNAVAILABLE
public static final JFException.Error ORDER_STATE_IMMUTABLE
public static final JFException.Error INVALID_GTT
public static final JFException.Error ORDER_CANCEL_INCORRECT
| Method Detail |
|---|
public static JFException.Error[] values()
for (JFException.Error c : JFException.Error.values()) System.out.println(c);
public static JFException.Error 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 name
java.lang.NullPointerException - if the argument is null