public enum PrintExceptionHandler extends Enum<PrintExceptionHandler> implements ExceptionHandler
Modifier and Type | Field and Description |
---|---|
static PrintExceptionHandler |
DEBUG |
static PrintExceptionHandler |
WARN |
Modifier and Type | Method and Description |
---|---|
static PrintExceptionHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrintExceptionHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isEnabled, on, on, on
public static final PrintExceptionHandler ERR
public static final PrintExceptionHandler OUT
public static final PrintExceptionHandler WARN
public static final PrintExceptionHandler DEBUG
public static PrintExceptionHandler[] values()
for (PrintExceptionHandler c : PrintExceptionHandler.values()) System.out.println(c);
public static PrintExceptionHandler 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 © 2018. All rights reserved.