public static enum JmxException.Reason extends Enum<JmxException.Reason>
Enum Constant and Description |
---|
INSTANCE_ALREADY_EXISTS |
INSTANCE_NOT_FOUND |
INVALID_ANNOTATION |
MALFORMED_OBJECT_NAME |
MBEAN_REGISTRATION |
Modifier and Type | Method and Description |
---|---|
static JmxException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JmxException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmxException.Reason INVALID_ANNOTATION
public static final JmxException.Reason MALFORMED_OBJECT_NAME
public static final JmxException.Reason INSTANCE_ALREADY_EXISTS
public static final JmxException.Reason INSTANCE_NOT_FOUND
public static final JmxException.Reason MBEAN_REGISTRATION
public static JmxException.Reason[] values()
for (JmxException.Reason c : JmxException.Reason.values()) System.out.println(c);
public static JmxException.Reason 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.