public static enum StandbyException.StandbyExceptionReason extends java.lang.Enum<StandbyException.StandbyExceptionReason>
StandbyException.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:simpleType name="StandbyFaultReasonType">
<xs:restriction base="xs:string">
<xs:enumeration value="maintenanceDisabled"/>
<xs:enumeration value="invalidInstanceId"/>
<xs:enumeration value="duplicateInstanceId"/>
<xs:enumeration value="unknownInstance"/>
</xs:restriction>
</xs:simpleType>
| Enum Constant and Description |
|---|
duplicateInstanceId
An instance identifier is specified more than once.
|
invalidInstanceId
The specified instance identifier is invalid.
|
maintenanceDisabled
The maintenance mode is disabled for the system.
|
unknownInstance
The specified instance identifier does not correspond to a known instance.
|
| Modifier and Type | Method and Description |
|---|---|
static StandbyException.StandbyExceptionReason |
fromName(java.lang.String name)
Gets an reason by its name.
|
static StandbyException.StandbyExceptionReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandbyException.StandbyExceptionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandbyException.StandbyExceptionReason maintenanceDisabled
public static final StandbyException.StandbyExceptionReason invalidInstanceId
public static final StandbyException.StandbyExceptionReason duplicateInstanceId
public static final StandbyException.StandbyExceptionReason unknownInstance
public static StandbyException.StandbyExceptionReason[] values()
for (StandbyException.StandbyExceptionReason c : StandbyException.StandbyExceptionReason.values()) System.out.println(c);
public static StandbyException.StandbyExceptionReason 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 nullpublic static final StandbyException.StandbyExceptionReason fromName(java.lang.String name)
name - the name of the reasonnull otherwise