Class ExpirationAlertException

All Implemented Interfaces:
OperationResult, XMLMarshallable, Serializable

public class ExpirationAlertException extends OperationFailureException
Exception thrown when the activation operation is invoked with invalid arguments.
See Also:

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="expirationAlertFault">
  <xs:complexType>
      <xs:attribute name="reason" type="ExpirationAlertFaultReasonType"/>
      <xs:attribute name="message" type="xs:string"/>
  </xs:complexType>
 </xs:element>
 <xs:simpleType name="ExpirationAlertFaultReasonType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="invalidToDate"/>
    <xs:enumeration value="processAlreadyRunning"/>
    <xs:enumeration value="dispatcherCommunicationFailed"/>
    <xs:enumeration value="unknown"/>
  </xs:restriction>
 </xs:simpleType>

  • Field Details

    • OPERATION_NAME

      public static final String OPERATION_NAME
      The XML tag name: expirationAlertFault
      See Also:
    • INVALID_TO_DATE

      public static final int INVALID_TO_DATE
      0: Constant for invalidToDate error
      See Also:
    • PROCESS_ALREADY_RUNNING

      public static final int PROCESS_ALREADY_RUNNING
      1: Constant for activationProcesssAlreadyRunning error. An activation process is still running.
      See Also:
    • DISPATCHER_COMMUNICATION_FAILED

      public static final int DISPATCHER_COMMUNICATION_FAILED
      2: Constant for dispatcherCommunicationFailed error
      See Also:
    • UNKNOWN

      public static final int UNKNOWN
      -1: Constant for unknown error
      See Also:
  • Constructor Details

  • Method Details

    • getReason

      public int getReason()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      Parameters:
      atts - The XML attributes of the current element
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Parameters:
      cData - The character data to be added
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshal

      public void marshal(XMLOutputter output)
      Description copied from interface: XMLMarshallable
      Gives an XML representation of this object, including its children.
      Parameters:
      output - The XML output to marshal the object into