Class ErrorMessageFormatter

java.lang.Object
org.frankframework.errormessageformatters.ErrorMessageFormatter
All Implemented Interfaces:
IErrorMessageFormatter, IScopeProvider
Direct Known Subclasses:
FixedErrorMessageFormatter, SoapErrorMessageFormatter, XslErrorMessageFormatter

public class ErrorMessageFormatter extends Object implements IErrorMessageFormatter, IScopeProvider
This ErrorMessageFormatter wraps an error in an XML string.
Sample xml:
 <errorMessage>
    <message timestamp="Mon Oct 13 12:01:57 CEST 2003"
             originator="NN IOS AdapterFramework(set from 'application.name' and 'application.version')"
             message="message describing the error that occurred" >
    <location class="org.frankframework.pipes.XmlSwitch" name="ServiceSwitch"/&gt
    <details&gtdetailed information of the error</details&gt
    <originalMessage messageId="..." receivedTime="Mon Oct 27 12:10:18 CET 2003" >
        <![CDATA[contents of message for which the error occurred]]>
    </originalMessage>
 </errorMessage>
 
Author:
Gerrit van Brakel
  • Field Details

    • log

      protected org.apache.logging.log4j.Logger log
  • Constructor Details

    • ErrorMessageFormatter

      public ErrorMessageFormatter()
  • Method Details