public enum IOFailureFlow extends Enum<IOFailureFlow>
| Enum Constant and Description |
|---|
IGNORE
Ignores the exception.
|
RETHROW
Rethrows the exception.
|
THROW_UNDECLARED
Wraps and rethrows the exception with an instance of
UndeclaredIOException. |
| Modifier and Type | Method and Description |
|---|---|
static IOFailureFlow |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOFailureFlow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOFailureFlow RETHROW
public static final IOFailureFlow IGNORE
public static final IOFailureFlow THROW_UNDECLARED
UndeclaredIOException.public static IOFailureFlow[] values()
for (IOFailureFlow c : IOFailureFlow.values()) System.out.println(c);
public static IOFailureFlow valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 JBoss by Red Hat. All Rights Reserved.