com.ibm.bpe.api

Class FaultReplyException

    • Constructor Detail

      • FaultReplyException

        public FaultReplyException(java.lang.Object[] vars,
                           java.lang.String faultName,
                           java.io.Serializable faultMessage)
        Deprecated. 
        Constructs an exception object with the specified fault name and message and remembers the values of the message variables passed. The fault message can thus localize the cause of the error.
        Parameters:
        vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
        faultName - The fault name.
        faultMessage - The fault message.
      • FaultReplyException

        public FaultReplyException(java.lang.Object[] vars,
                           java.lang.String faultName,
                           java.io.Serializable faultMessage,
                           java.lang.String applicationName)
        Constructs an exception object with the specified fault name and message and remembers the values of the message variables passed. The fault message can thus localize the cause of the error.
        Parameters:
        vars - The values of the message variables. Can be an empty array. If the array contains objects, they must be Serializable.
        faultName - The fault name.
        faultMessage - The fault message.
        applicationName - The application that contains the modelled fault.
    • Method Detail

      • getFaultName

        public java.lang.String getFaultName()
        Returns the fault name.
        Specified by:
        getFaultName in class BpelException
        Returns:
        String - The fault name.
      • setFaultMessage

        public void setFaultMessage(java.io.Serializable faultMessage)
        Deprecated. 
        Wraps the fault message into a ClientObjectWrapper object.
        Parameters:
        faultMessage - The fault message.
      • setFaultMessage

        public void setFaultMessage(java.io.Serializable faultMessage,
                           java.lang.String applicationName)
        Wraps the fault message into a ClientObjectWrapper object.
        Parameters:
        faultMessage - The fault message.
        applicationName - The application that contains the modelled fault.
      • getFaultMessage

        public java.io.Serializable getFaultMessage()
                                             throws DataHandlingException
        Returns the fault message.
        Returns:
        Serializable - The message that is associated with the fault.
        Throws:
        DataHandlingException - Thrown if the message object cannot be deserialized.
IBM Business Process ManagerTM
Release 8