Class FixedErrorMessageFormatter
java.lang.Object
org.frankframework.errormessageformatters.ErrorMessageFormatter
org.frankframework.errormessageformatters.FixedErrorMessageFormatter
- All Implemented Interfaces:
IErrorMessageFormatter
,IScopeProvider
- Direct Known Subclasses:
FixedErrorMessage
ErrorMessageFormatter that returns a fixed message with replacements.
- Since:
- 4.3
- Author:
- Peter Leeuwenburgh
-
Field Summary
Fields inherited from class org.frankframework.errormessageformatters.ErrorMessageFormatter
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformat
(String errorMessage, Throwable t, INamedObject location, Message originalMessage, String messageId, long receivedTime) Format the available parameters into a XML-message.void
setFilename
(String filename) name of the file containing the result messagevoid
setReplaceFrom
(String replaceFrom) void
setReplaceTo
(String replaceTo) void
setReturnString
(String string) returned messagevoid
setStyleSheetName
(String styleSheetName) Methods inherited from class org.frankframework.errormessageformatters.ErrorMessageFormatter
getConfigurationClassLoader, getErrorMessage
-
Constructor Details
-
FixedErrorMessageFormatter
public FixedErrorMessageFormatter()
-
-
Method Details
-
format
public Message format(String errorMessage, Throwable t, INamedObject location, Message originalMessage, String messageId, long receivedTime) Description copied from class:ErrorMessageFormatter
Format the available parameters into a XML-message. Override this method in descender-classes to obtain the required behaviour.- Specified by:
format
in interfaceIErrorMessageFormatter
- Overrides:
format
in classErrorMessageFormatter
-
setReturnString
returned message -
setFilename
name of the file containing the result message -
setReplaceFrom
-
setReplaceTo
-
setStyleSheetName
-
getFilename
-
getReturnString
-
getReplaceFrom
-
getReplaceTo
-
getStyleSheetName
-