com.ibm.bpe.api
Class ApplicationFaultException2

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.bpe.api.ProcessException
              extended by com.ibm.bpe.api.BpelException
                  extended by com.ibm.bpe.api.ApplicationFaultException
                      extended by com.ibm.bpe.api.ApplicationFaultException2
All Implemented Interfaces:
java.io.Serializable

public class ApplicationFaultException2
extends ApplicationFaultException

An ApplicationFaultException2 extends ApplicationFaultException and additionally provides the namespace of the WSDL message that is associated with the thrown fault variable in case the fault variable is represented by a boxed Java simple type.

Since:
6.0
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.bpe.api.ApplicationFaultException
_faultName, _utid
 
Fields inherited from class com.ibm.bpe.api.BpelException
NAMESPACE_BPEL, NAMESPACE_WPC
 
Fields inherited from class com.ibm.bpe.api.ProcessException
_catalog, _cause, _id, _key, _message, _vars
 
Constructor Summary
ApplicationFaultException2(java.lang.Object[] vars, java.lang.String faultName, com.ibm.bpe.api.UTID utid, java.io.Serializable faultMessage, java.lang.String wsdlMessageNamespace, java.lang.String wsdlMessageLocalName, java.lang.String xsdElementNamespace, java.lang.String xsdElementLocalName, java.lang.String xsdTypeNamespace, java.lang.String xsdTypeLocalName)
          Constructs an exception object with the specified fault name, message, and message parameters and remembers the values of the message variables passed.
 
Method Summary
 java.lang.String getWSDLMessageLocalName()
          Returns the local name of the WSDL message.
 java.lang.String getWSDLMessageNamespace()
          Returns the namespace of the WSDL message.
 java.lang.String getXSDElementLocalName()
          Returns the local name of the XSD element.
 java.lang.String getXSDElementNamespace()
          Returns the namespace of the XSD element.
 java.lang.String getXSDTypeLocalName()
          Returns the local name of the XSD type.
 java.lang.String getXSDTypeNamespace()
          Returns the namespace of the XSD type.
 
Methods inherited from class com.ibm.bpe.api.ApplicationFaultException
getFaultMessage, getFaultName, getFaultUTID, setFaultMessage
 
Methods inherited from class com.ibm.bpe.api.ProcessException
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, internPrintStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ApplicationFaultException2

public ApplicationFaultException2(java.lang.Object[] vars,
                                  java.lang.String faultName,
                                  com.ibm.bpe.api.UTID utid,
                                  java.io.Serializable faultMessage,
                                  java.lang.String wsdlMessageNamespace,
                                  java.lang.String wsdlMessageLocalName,
                                  java.lang.String xsdElementNamespace,
                                  java.lang.String xsdElementLocalName,
                                  java.lang.String xsdTypeNamespace,
                                  java.lang.String xsdTypeLocalName)
Constructs an exception object with the specified fault name, message, and message parameters 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.
utid - The namespace URI template ID of the fault name.
faultMessage - The fault message.
wsdlMessageNamespace - The namespace of the WSDL message, if the type of the fault is specifed via a WSDL message, null otherwise.
wsdlMessageLocalName - The local name of the WSDL message, if the type of the fault is specifed via a WSDL message, null otherwise.
xsdElementNamespace - The namespace of the XSD element, if the type of the fault is specifed via a single-part element typed WSDL message or via an XSD element. Null otherwise.
xsdElementLocalName - The local name of the XSD element, if the type of the fault is specifed via a single-part element typed WSDL message or via an XSD element. Null otherwise.
xsdTypeNamespace - The namespace of the XSD type, if the type of the fault is specifed via a single-part type typed WSDL message or via an XSD element or type. In case of an XSD element this is the namespace of the XSD type the element refers to. Null otherwise.
xsdTypeLocalName - The local name of the XSD type, if the type of the fault is specifed via a single-part type typed WSDL message or via an XSD element or type. In case of an XSD element this is the local name of the XSD type the element refers to. Null otherwise.
Method Detail

getWSDLMessageNamespace

public java.lang.String getWSDLMessageNamespace()
Returns the namespace of the WSDL message.

Returns:
String - The namespace of the WSDL message, if the type of the fault is specifed via a WSDL message, null otherwise.

getWSDLMessageLocalName

public java.lang.String getWSDLMessageLocalName()
Returns the local name of the WSDL message.

Returns:
String - The local name of the WSDL message, if the type of the fault is specifed via a WSDL message, null otherwise.

getXSDElementNamespace

public java.lang.String getXSDElementNamespace()
Returns the namespace of the XSD element.

Returns:
String - The namespace of the XSD element, if the type of the fault is specifed via a single-part element typed WSDL message or via an XSD element. Null otherwise.

getXSDElementLocalName

public java.lang.String getXSDElementLocalName()
Returns the local name of the XSD element.

Returns:
String - The local name of the XSD element, if the type of the fault is specifed via a single-part element typed WSDL message or via an XSD element. Null otherwise.

getXSDTypeNamespace

public java.lang.String getXSDTypeNamespace()
Returns the namespace of the XSD type.

Returns:
The namespace of the XSD type, if the type of the fault is specifed via a single-part type typed WSDL message or via an XSD element or type. In case of an XSD element this is the namespace of the XSD type the element refers to. Null otherwise.

getXSDTypeLocalName

public java.lang.String getXSDTypeLocalName()
Returns the local name of the XSD type.

Returns:
The local name of the XSD type, if the type of the fault is specifed via a single-part type typed WSDL message or via an XSD element or type. In case of an XSD element this is the local name of the XSD type the element refers to. Null otherwise.