public enum WriteStatus extends java.lang.Enum<WriteStatus>
enum
denotes the status of a write.Enum Constant and Description |
---|
CANNOT_OPEN_FILE
Cannot open file.
|
EVIO_EXCEPTION
Evio exception on read.
|
SUCCESS
Successful read.
|
UNKNOWN_ERROR
Unknown exception on read.
|
Modifier and Type | Method and Description |
---|---|
static WriteStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteStatus SUCCESS
public static final WriteStatus CANNOT_OPEN_FILE
public static final WriteStatus EVIO_EXCEPTION
public static final WriteStatus UNKNOWN_ERROR
public static WriteStatus[] values()
for (WriteStatus c : WriteStatus.values()) System.out.println(c);
public static WriteStatus 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