public static enum StreamException.Error extends java.lang.Enum<StreamException.Error>
Enum Constant and Description |
---|
DEFAULT |
FILENOTFOUND |
OUTOFSYNC |
Modifier and Type | Method and Description |
---|---|
static StreamException.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamException.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamException.Error DEFAULT
public static final StreamException.Error OUTOFSYNC
public static final StreamException.Error FILENOTFOUND
public static StreamException.Error[] values()
for (StreamException.Error c : StreamException.Error.values()) System.out.println(c);
public static StreamException.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 namejava.lang.NullPointerException
- if the argument is null