com.ibm.bpe.api

Class ApplicationFaultException2

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.bpe.api.ProcessException
  5. extended bycom.ibm.bpe.api.BpelException
  6. extended bycom.ibm.bpe.api.ApplicationFaultException
  7. extended bycom.ibm.bpe.api.ApplicationFaultException2
All implemented interfaces:
java.io.Serializable

  1. public class ApplicationFaultException2
  2. 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

Modifier and Type Field and Description
  1. static
  2. 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

Constructor and Description
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

Modifier and Type Method and Description
  1. java.lang.String
getWSDLMessageLocalName()
Returns the local name of the WSDL message.
  1. java.lang.String
getWSDLMessageNamespace()
Returns the namespace of the WSDL message.
  1. java.lang.String
getXSDElementLocalName()
Returns the local name of the XSD element.
  1. java.lang.String
getXSDElementNamespace()
Returns the namespace of the XSD element.
  1. java.lang.String
getXSDTypeLocalName()
Returns the local name of the XSD type.
  1. 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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

ApplicationFaultException2

  1. public ApplicationFaultException2( java.lang.Object[] vars,
  2. java.lang.String faultName,
  3. com.ibm.bpe.api.UTID utid,
  4. java.io.Serializable faultMessage,
  5. java.lang.String wsdlMessageNamespace,
  6. java.lang.String wsdlMessageLocalName,
  7. java.lang.String xsdElementNamespace,
  8. java.lang.String xsdElementLocalName,
  9. java.lang.String xsdTypeNamespace,
  10. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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.