public static enum HandlerContext.UncaughtHandlerType extends Enum<HandlerContext.UncaughtHandlerType>
Modifier and Type | Method and Description |
---|---|
static HandlerContext.UncaughtHandlerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandlerContext.UncaughtHandlerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlerContext.UncaughtHandlerType INSTANCE
public static final HandlerContext.UncaughtHandlerType GROUP
public static final HandlerContext.UncaughtHandlerType GLOBAL
public static HandlerContext.UncaughtHandlerType[] values()
for (HandlerContext.UncaughtHandlerType c : HandlerContext.UncaughtHandlerType.values()) System.out.println(c);
public static HandlerContext.UncaughtHandlerType 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 null