public enum ExitHandler extends Enum<ExitHandler>
Enum Constant and Description |
---|
EXIT
Exit the Java process.
|
LOG_ONLY
Only log the error.
|
Modifier and Type | Method and Description |
---|---|
static ExitHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExitHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitHandler EXIT
public static final ExitHandler LOG_ONLY
public static ExitHandler[] values()
for (ExitHandler c : ExitHandler.values()) System.out.println(c);
public static ExitHandler 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 © 2008–2021 The Apache Software Foundation. All rights reserved.