EbxmlValidationException¶
-
public class
EbxmlValidationException
extends ValidationException¶ Exception class that can generate ebXML error messages from the information it has been given.
Author: Frankie Lam
Fields¶
ACTION¶
EBXML_ERROR_DELIVERY_FAILURE¶
EBXML_ERROR_INCONSISTENT¶
EBXML_ERROR_MIME_PROBLEM¶
EBXML_ERROR_NOT_SUPPORTED¶
EBXML_ERROR_OTHER_XML¶
EBXML_ERROR_SECURITY_FAILURE¶
EBXML_ERROR_TIME_TO_LIVE_EXPIRED¶
EBXML_ERROR_UNKNOWN¶
EBXML_ERROR_VALUE_NOT_RECOGNIZED¶
SERVICE¶
refToMessage¶
-
protected EbxmlMessage
refToMessage
¶ The ebXML message being referred to.
Constructors¶
EbxmlValidationException¶
-
public
EbxmlValidationException
(String errorCode, String severity, String errorString)¶ Constructs a
EbxmlValidationException
object given its error code, severity level, error string and the ebXML message being referred.Parameters: - errorCode – One of the error codes defined in ebMS 4.2.3.4.1.
- severity – Severity level of the error, which should be either SEVERITY_WARNING or SEVERITY_ERROR
- errorString – String describing the error.
EbxmlValidationException¶
-
public
EbxmlValidationException
(String errorCode, String severity, String errorString, String location)¶ Constructs a
EbxmlValidationException
object given its error code, severity level, error string and the ebXML message being referred.Parameters: - errorCode – One of the error codes defined in ebMS 4.2.3.4.1.
- severity – Severity level of the error, which should be either SEVERITY_WARNING or SEVERITY_ERROR
- errorString – String describing the error.
- location – Location of the message containing the error.
Methods¶
getEbxmlMessage¶
-
public EbxmlMessage
getEbxmlMessage
()¶ Get
EbxmlMessage
error message from the information given int this object.Returns: EbxmlMessage
containing the error information.
getLocation¶
getSOAPMessage¶
-
public SOAPMessage
getSOAPMessage
()¶ Get the error message in SOAP format.
Returns: javax.xml.soap.SOAPMessage
object.
setRefToMessage¶
-
public void
setRefToMessage
(EbxmlMessage refToMessage)¶ Set the
EbxmlMessage
being referred to by the error message.Parameters: - refToMessage –
EbxmlMessage
object to be referred to.
- refToMessage –