public static enum TryCatchFinally.State extends java.lang.Enum<TryCatchFinally.State>
| 列挙型定数と説明 |
|---|
CATCHING |
CLOSED |
CREATED |
FINALIZING |
TRYING |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static TryCatchFinally.State |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static TryCatchFinally.State[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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(java.lang.String name)
name - 返される列挙型定数の名前java.lang.IllegalArgumentException - 指定された名前を持つ定数を
この列挙型が持っていない場合java.lang.NullPointerException - 引数がnullの場合