com.ibm.bpe.api

Class SpecificFaultReplyException

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.apache.wsif.WSIFMessage

    Deprecated. 
    As of version 6.1, no replacement.

    public abstract class SpecificFaultReplyException
    extends FaultReplyException
    implements org.apache.wsif.WSIFMessage
    A SpecificFaultReplyException states that a fault is returned. It offers methods to operate directly on the fault message contents.
    Since:
    5.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SpecificFaultReplyException(FaultReplyException faultReplyException)
      Deprecated. 
      Constructs an exception object from the exception passed.
      SpecificFaultReplyException(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.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      abstract java.lang.Object clone()
      Deprecated. 
      Clones this object.
      boolean getBooleanPart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type boolean that is contained in the fault message.
      byte getBytePart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type byte that is contained in the fault message.
      char getCharPart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type char that is contained in the fault message.
      double getDoublePart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type double that is contained in the fault message.
      float getFloatPart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type float that is contained in the fault message.
      int getIntPart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type int that is contained in the fault message.
      long getLongPart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type long that is contained in the fault message.
      javax.wsdl.Message getMessageDefinition()
      Deprecated. 
      Returns the message definition of the fault message.
      java.lang.String getName()
      Deprecated. 
      Returns the name of the fault.
      java.lang.Object getObjectPart(java.lang.String partName)
      Deprecated. 
      Returns the specified part that is contained in the fault message.
      java.lang.Object getObjectPart(java.lang.String partName, java.lang.Class type)
      Deprecated. 
      Returns the specified part that is contained in the fault message.
      java.util.Iterator getPartNames()
      Deprecated. 
      Returns an unordered list of part names contained in the fault message.
      java.util.Iterator getParts()
      Deprecated. 
      Returns an unordered list of parts contained in the fault message.
      java.lang.String getRepresentationStyle()
      Deprecated. 
      Returns the representation style for all parts in the fault message.
      short getShortPart(java.lang.String partName)
      Deprecated. 
      Returns the specified part of type short that is contained in the fault message.
      void setBooleanPart(java.lang.String partName, boolean value)
      Deprecated. 
      Sets the specified part of type boolean that is contained in the fault message.
      void setBytePart(java.lang.String partName, byte value)
      Deprecated. 
      Sets the specified part of type byte that is contained in the fault message.
      void setCharPart(java.lang.String partName, char value)
      Deprecated. 
      Sets the specified part of type char that is contained in the fault message.
      void setDoublePart(java.lang.String partName, double value)
      Deprecated. 
      Sets the specified part of type double that is contained in the fault message.
      void setFloatPart(java.lang.String partName, float value)
      Deprecated. 
      Sets the specified part of type float that is contained in the fault message.
      void setIntPart(java.lang.String partName, int value)
      Deprecated. 
      Sets the specified part of type int that is contained in the fault message.
      void setLongPart(java.lang.String partName, long value)
      Deprecated. 
      Sets the specified part of type long that is contained in the fault message.
      void setMessageDefinition(javax.wsdl.Message msgDef)
      Deprecated. 
      Sets the message definition of the fault message.
      void setName(java.lang.String faultName)
      Deprecated. 
      Sets the name of the fault.
      void setObjectPart(java.lang.String partName, java.lang.Object value)
      Deprecated. 
      Sets the specified object part that is contained in the fault message.
      void setParts(java.util.Map parts)
      Deprecated. 
      Sets the specified parts that are contained in the fault message.
      void setRepresentationStyle(java.lang.String style)
      Deprecated. 
      Sets the representation style for the parts that are contained in the fault message.
      void setShortPart(java.lang.String partName, short value)
      Deprecated. 
      Sets the specified part of type short that is contained in the fault message.
      • Methods inherited from class java.lang.Throwable

        fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • SpecificFaultReplyException

        public SpecificFaultReplyException(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.
    • Method Detail

      • getBooleanPart

        public boolean getBooleanPart(java.lang.String partName)
                               throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type boolean that is contained in the fault message.
        Specified by:
        getBooleanPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        boolean - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getBooleanPart(java.lang.String)
      • getBytePart

        public byte getBytePart(java.lang.String partName)
                         throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type byte that is contained in the fault message.
        Specified by:
        getBytePart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        byte - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getBytePart(java.lang.String)
      • getCharPart

        public char getCharPart(java.lang.String partName)
                         throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type char that is contained in the fault message.
        Specified by:
        getCharPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        char - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getCharPart(java.lang.String)
      • getDoublePart

        public double getDoublePart(java.lang.String partName)
                             throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type double that is contained in the fault message.
        Specified by:
        getDoublePart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        double - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getDoublePart(java.lang.String)
      • getFloatPart

        public float getFloatPart(java.lang.String partName)
                           throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type float that is contained in the fault message.
        Specified by:
        getFloatPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        float - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getFloatPart(java.lang.String)
      • getIntPart

        public int getIntPart(java.lang.String partName)
                       throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type int that is contained in the fault message.
        Specified by:
        getIntPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        int - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getIntPart(java.lang.String)
      • getLongPart

        public long getLongPart(java.lang.String partName)
                         throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type long that is contained in the fault message.
        Specified by:
        getLongPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        long - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getLongPart(java.lang.String)
      • getMessageDefinition

        public javax.wsdl.Message getMessageDefinition()
        Deprecated. 
        Returns the message definition of the fault message.
        Specified by:
        getMessageDefinition in interface org.apache.wsif.WSIFMessage
        Returns:
        Message - The message definition.
        See Also:
        WSIFMessage.getMessageDefinition()
      • getName

        public java.lang.String getName()
        Deprecated. 
        Returns the name of the fault.
        Specified by:
        getName in interface org.apache.wsif.WSIFMessage
        Returns:
        String - The fault name.
        See Also:
        WSIFMessage.getName()
      • getObjectPart

        public java.lang.Object getObjectPart(java.lang.String partName)
                                       throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part that is contained in the fault message.
        Specified by:
        getObjectPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        Object - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getObjectPart(java.lang.String)
      • getObjectPart

        public java.lang.Object getObjectPart(java.lang.String partName,
                                     java.lang.Class type)
                                       throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part that is contained in the fault message.
        Specified by:
        getObjectPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        type - The type of the part.
        Returns:
        Object - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getObjectPart(java.lang.String, java.lang.Class)
      • getPartNames

        public java.util.Iterator getPartNames()
        Deprecated. 
        Returns an unordered list of part names contained in the fault message.
        Specified by:
        getPartNames in interface org.apache.wsif.WSIFMessage
        Returns:
        Iterator - The list of part names.
        See Also:
        WSIFMessage.getPartNames()
      • getParts

        public java.util.Iterator getParts()
        Deprecated. 
        Returns an unordered list of parts contained in the fault message.
        Specified by:
        getParts in interface org.apache.wsif.WSIFMessage
        Returns:
        Iterator - The list of parts.
        See Also:
        WSIFMessage.getParts()
      • getRepresentationStyle

        public java.lang.String getRepresentationStyle()
        Deprecated. 
        Returns the representation style for all parts in the fault message.
        Specified by:
        getRepresentationStyle in interface org.apache.wsif.WSIFMessage
        Returns:
        String - The representation style.
        See Also:
        WSIFMessage.getRepresentationStyle()
      • getShortPart

        public short getShortPart(java.lang.String partName)
                           throws org.apache.wsif.WSIFException
        Deprecated. 
        Returns the specified part of type short that is contained in the fault message.
        Specified by:
        getShortPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        Returns:
        short - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.getShortPart(java.lang.String)
      • setBooleanPart

        public void setBooleanPart(java.lang.String partName,
                          boolean value)
        Deprecated. 
        Sets the specified part of type boolean that is contained in the fault message.
        Specified by:
        setBooleanPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setBooleanPart(java.lang.String, boolean)
      • setBytePart

        public void setBytePart(java.lang.String partName,
                       byte value)
        Deprecated. 
        Sets the specified part of type byte that is contained in the fault message.
        Specified by:
        setBytePart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setBytePart(java.lang.String, byte)
      • setCharPart

        public void setCharPart(java.lang.String partName,
                       char value)
        Deprecated. 
        Sets the specified part of type char that is contained in the fault message.
        Specified by:
        setCharPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setCharPart(java.lang.String, char)
      • setDoublePart

        public void setDoublePart(java.lang.String partName,
                         double value)
        Deprecated. 
        Sets the specified part of type double that is contained in the fault message.
        Specified by:
        setDoublePart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setDoublePart(java.lang.String, double)
      • setFloatPart

        public void setFloatPart(java.lang.String partName,
                        float value)
        Deprecated. 
        Sets the specified part of type float that is contained in the fault message.
        Specified by:
        setFloatPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setFloatPart(java.lang.String, float)
      • setIntPart

        public void setIntPart(java.lang.String partName,
                      int value)
        Deprecated. 
        Sets the specified part of type int that is contained in the fault message.
        Specified by:
        setIntPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setIntPart(java.lang.String, int)
      • setLongPart

        public void setLongPart(java.lang.String partName,
                       long value)
        Deprecated. 
        Sets the specified part of type long that is contained in the fault message.
        Specified by:
        setLongPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setLongPart(java.lang.String, long)
      • setMessageDefinition

        public void setMessageDefinition(javax.wsdl.Message msgDef)
        Deprecated. 
        Sets the message definition of the fault message.
        Specified by:
        setMessageDefinition in interface org.apache.wsif.WSIFMessage
        Parameters:
        msgDef - The message definition.
        See Also:
        WSIFMessage.setMessageDefinition(javax.wsdl.Message)
      • setName

        public void setName(java.lang.String faultName)
        Deprecated. 
        Sets the name of the fault.
        Specified by:
        setName in interface org.apache.wsif.WSIFMessage
        Parameters:
        faultName - The fault name.
        See Also:
        WSIFMessage.setName(java.lang.String)
      • setObjectPart

        public void setObjectPart(java.lang.String partName,
                         java.lang.Object value)
                           throws org.apache.wsif.WSIFException
        Deprecated. 
        Sets the specified object part that is contained in the fault message.
        Specified by:
        setObjectPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        Throws:
        org.apache.wsif.WSIFException
        See Also:
        WSIFMessage.setObjectPart(java.lang.String, java.lang.Object)
      • setParts

        public void setParts(java.util.Map parts)
        Deprecated. 
        Sets the specified parts that are contained in the fault message.
        Specified by:
        setParts in interface org.apache.wsif.WSIFMessage
        Parameters:
        parts - A map of name and value pairs.
        See Also:
        WSIFMessage.setParts(java.util.Map)
      • setRepresentationStyle

        public void setRepresentationStyle(java.lang.String style)
        Deprecated. 
        Sets the representation style for the parts that are contained in the fault message.
        Specified by:
        setRepresentationStyle in interface org.apache.wsif.WSIFMessage
        Parameters:
        style - The representation style.
        See Also:
        WSIFMessage.setRepresentationStyle(java.lang.String)
      • setShortPart

        public void setShortPart(java.lang.String partName,
                        short value)
        Deprecated. 
        Sets the specified part of type short that is contained in the fault message.
        Specified by:
        setShortPart in interface org.apache.wsif.WSIFMessage
        Parameters:
        partName - The name of the part.
        value - The value.
        See Also:
        WSIFMessage.setShortPart(java.lang.String, short)
      • clone

        public abstract java.lang.Object clone()
        Deprecated. 
        Clones this object.
        Specified by:
        clone in interface org.apache.wsif.WSIFMessage
        Overrides:
        clone in class java.lang.Object
IBM Business Process ManagerTM
Release 8