public class TaskBusinessException extends TaskException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
TaskBusinessException(java.lang.Object[] vars,
java.lang.String faultName,
java.io.Serializable faultMessage,
java.lang.String wsdlMessageLocalName,
java.lang.String wsdlMessageNamespace,
java.lang.String xsdTypeLocalName,
java.lang.String xsdTypeNamespace)
Constructs an exception object with the specified fault name and message and remembers the
values of the message variables passed.
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getFaultMessage()
Returns the fault message.
|
java.lang.String |
getFaultName()
Returns the fault name.
|
java.lang.String |
getWSDLMessageLocalName()
Returns the WSDL message type local name.
|
java.lang.String |
getWSDLMessageNamespace()
Returns the WSDL message type namespace.
|
java.lang.String |
getXSDTypeLocalName()
Returns the XSD type local name.
|
java.lang.String |
getXSDTypeNamespace()
Returns the XSD type namespace.
|
void |
setFaultMessage(java.io.Serializable faultMessage)
Wraps the fault message into a ClientObjectWrapper object.
|
getCause, getMessage, getMessage, getMessageID, getMessageKey, getMessageVariables, getRootCause, printStackTrace, printStackTrace, printStackTrace
public static final java.lang.String COPYRIGHT
public TaskBusinessException(java.lang.Object[] vars, java.lang.String faultName, java.io.Serializable faultMessage, java.lang.String wsdlMessageLocalName, java.lang.String wsdlMessageNamespace, java.lang.String xsdTypeLocalName, java.lang.String xsdTypeNamespace)
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.wsdlMessageLocalName
- WSDL message type local name, if the type of the fault is specifed via a WSDL message,
null otherwise.wsdlMessageNamespace
- The WSDL message type namespace, if the type of the fault is specifed via a WSDL message,
null otherwise.xsdTypeLocalName
- The XSD message type local name, 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.xsdTypeNamespace
- The XSD message type namespace, 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.public java.io.Serializable getFaultMessage() throws DataHandlingException
DataHandlingException
- Thrown if the message object cannot be deserialized.public java.lang.String getFaultName()
public java.lang.String getWSDLMessageLocalName()
public java.lang.String getWSDLMessageNamespace()
public java.lang.String getXSDTypeLocalName()
public java.lang.String getXSDTypeNamespace()
public void setFaultMessage(java.io.Serializable faultMessage)
faultMessage
- The fault message.