public enum EErrorExt extends java.lang.Enum<EErrorExt>
Enum Constant and Description |
---|
ARRAY_LENGTH_INVALID |
CODE_ERROR |
DEAD_VALUE |
INVALID_COLLECTION |
INVALID_DEVICE_NUMBER |
INVALID_NUMBER |
MISLEADING_VALUES |
OPERATION_BUSY |
POINT_OF_DISCONTINUITY |
TRANSMITTER_IS_NEAR_MODE |
UNDEF_VALUE |
UNUSED_VALUE |
VALUE_IS_NULL |
VALUE_NOT_SET |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Returns the error string value.
|
static EErrorExt |
getError(int key_)
Returns on the error code the corresponding error enumeration.
|
int |
getErrorCode()
Returns the error code value.
|
static boolean |
isError(int errorCode_)
Returns if the corresponding error code is inside my extension ones.
|
static EErrorExt |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EErrorExt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EErrorExt VALUE_IS_NULL
public static final EErrorExt INVALID_COLLECTION
public static final EErrorExt INVALID_DEVICE_NUMBER
public static final EErrorExt TRANSMITTER_IS_NEAR_MODE
public static final EErrorExt UNUSED_VALUE
public static final EErrorExt ARRAY_LENGTH_INVALID
public static final EErrorExt MISLEADING_VALUES
public static final EErrorExt POINT_OF_DISCONTINUITY
public static final EErrorExt CODE_ERROR
public static final EErrorExt INVALID_NUMBER
public static final EErrorExt UNDEF_VALUE
public static final EErrorExt VALUE_NOT_SET
public static final EErrorExt OPERATION_BUSY
public static final EErrorExt DEAD_VALUE
public static EErrorExt[] values()
for (EErrorExt c : EErrorExt.values()) System.out.println(c);
public static EErrorExt 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 nullpublic static EErrorExt getError(int key_)
null
is returned.key_
- Is the error code.null
if it
doesn't exist.public static boolean isError(int errorCode_)
errorCode_
- Is the error code.public int getErrorCode()
public java.lang.String getError()
14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft