public static enum MBeanWrapper.OnException extends java.lang.Enum<MBeanWrapper.OnException>
Modifier and Type | Field and Description |
---|---|
java.util.function.Consumer<java.lang.Exception> |
handler |
Modifier and Type | Method and Description |
---|---|
static MBeanWrapper.OnException |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MBeanWrapper.OnException[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MBeanWrapper.OnException THROW
public static final MBeanWrapper.OnException LOG
public static final MBeanWrapper.OnException IGNORE
public static MBeanWrapper.OnException[] values()
for (MBeanWrapper.OnException c : MBeanWrapper.OnException.values()) System.out.println(c);
public static MBeanWrapper.OnException valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009-2022 The Apache Software Foundation