Class SoapErrorMessageFormatter
java.lang.Object
org.frankframework.errormessageformatters.ErrorMessageFormatter
org.frankframework.errormessageformatters.SoapErrorMessageFormatter
- All Implemented Interfaces:
IErrorMessageFormatter
,IScopeProvider
ErrorMessageFormatter that returns a soap fault message.
- Author:
- Peter Leeuwenburgh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat
(String errorMessage, Throwable t, HasName location, Message originalMessage, PipeLineSession session) Format the available parameters into a XML-message.void
setMessageFormat
(DocumentFormat messageFormat) Format the error message as XML or as JSON.Methods inherited from class org.frankframework.errormessageformatters.ErrorMessageFormatter
getErrorMessage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.core.IScopeProvider
getConfigurationClassLoader
-
Constructor Details
-
SoapErrorMessageFormatter
public SoapErrorMessageFormatter()
-
-
Method Details
-
format
public Message format(String errorMessage, Throwable t, HasName location, Message originalMessage, PipeLineSession session) Description copied from class:ErrorMessageFormatter
Format the available parameters into a XML-message.
Override this method in subclasses to obtain the required behaviour.- Specified by:
format
in interfaceIErrorMessageFormatter
- Overrides:
format
in classErrorMessageFormatter
-
setMessageFormat
Description copied from class:ErrorMessageFormatter
Format the error message as XML or as JSON. ff.default XML- Overrides:
setMessageFormat
in classErrorMessageFormatter
-