Enum Class StandbyException.StandbyExceptionReason

java.lang.Object
java.lang.Enum<StandbyException.StandbyExceptionReason>
com.highdeal.admin.hci.StandbyException.StandbyExceptionReason
All Implemented Interfaces:
Serializable, Comparable<StandbyException.StandbyExceptionReason>, Constable
Enclosing class:
StandbyException

public static enum StandbyException.StandbyExceptionReason extends Enum<StandbyException.StandbyExceptionReason>
This enumeration lists the possible reasons for StandbyException.

XML API for HCI

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 Details

  • Method Details

    • values

      public static StandbyException.StandbyExceptionReason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StandbyException.StandbyExceptionReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromName

      public static final StandbyException.StandbyExceptionReason fromName(String name)
      Gets an reason by its name.
      Parameters:
      name - the name of the reason
      Returns:
      the corresponding reason if the name specified is valid, null otherwise