public static enum ICommunication.ErrorCommunication extends java.lang.Enum<ICommunication.ErrorCommunication>
| Enum Constant and Description |
|---|
ERR_CLOSE |
ERR_INIT_PARAMS |
ERR_OPEN |
ERR_READ |
ERR_WRITE |
NO_INIT |
NO_OPEN |
OK |
| Modifier and Type | Method and Description |
|---|---|
static ICommunication.ErrorCommunication |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ICommunication.ErrorCommunication[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICommunication.ErrorCommunication OK
public static final ICommunication.ErrorCommunication NO_INIT
public static final ICommunication.ErrorCommunication ERR_INIT_PARAMS
public static final ICommunication.ErrorCommunication NO_OPEN
public static final ICommunication.ErrorCommunication ERR_OPEN
public static final ICommunication.ErrorCommunication ERR_READ
public static final ICommunication.ErrorCommunication ERR_WRITE
public static final ICommunication.ErrorCommunication ERR_CLOSE
public static ICommunication.ErrorCommunication[] values()
for (ICommunication.ErrorCommunication c : ICommunication.ErrorCommunication.values()) System.out.println(c);
public static ICommunication.ErrorCommunication 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 null