Class SoapMessageParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.communication.exception.CommunicationEngineException
com.aquima.interactions.communication.exception.SoapMessageParseException
- All Implemented Interfaces:
Serializable
This exception is used when a soap message could not be parsed.
- Since:
- 9.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSoapMessageParseException
(String message, ISoapMessage soapMessage) Constructs the exception with the error message and the invalid soap message.SoapMessageParseException
(String message, ISoapMessage soapMessage, Throwable cause) Constructor with both a message and an exception explaining the cause of the error. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the soap message that could not be parsed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SoapMessageParseException
Constructs the exception with the error message and the invalid soap message.- Parameters:
message
- The error message.soapMessage
- The soap message that could not be parsed, may not be null.
-
SoapMessageParseException
Constructor with both a message and an exception explaining the cause of the error.- Parameters:
message
- The message explaining the error that occurred.soapMessage
- The soap message that could not be parsed, may not be null.cause
- The original cause of the error.
-
-
Method Details
-
getSoapMessage
This method returns the soap message that could not be parsed.- Returns:
- The soap message, never null.
-