public static enum TryCatchFinally.State extends Enum<TryCatchFinally.State>
Enum Constant and Description |
---|
CATCHING |
CLOSED |
CREATED |
FINALIZING |
TRYING |
Modifier and Type | Method and Description |
---|---|
static TryCatchFinally.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TryCatchFinally.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TryCatchFinally.State CREATED
public static final TryCatchFinally.State TRYING
public static final TryCatchFinally.State CATCHING
public static final TryCatchFinally.State FINALIZING
public static final TryCatchFinally.State CLOSED
public static TryCatchFinally.State[] values()
for (TryCatchFinally.State c : TryCatchFinally.State.values()) System.out.println(c);
public static TryCatchFinally.State 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.