@ComponentProfile(summary="ExceptionReportGenerator implementation that produces XML (without the stacktrace)", since="3.8.4") public class XmlExceptionReport extends java.lang.Object implements ExceptionReportGenerator
ExceptionReportGenerator
implementation that renders the exception as XML.In the adapter configuration file this class is aliased as xml-exception-report which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
XmlExceptionReport() |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
create(java.lang.Exception e,
java.lang.String workflow,
java.lang.String location)
Create a Document from the exception.
|
protected ExceptionReport |
createReportObject(java.lang.Exception e,
java.lang.String workflow,
java.lang.String location) |
public org.w3c.dom.Document create(java.lang.Exception e, java.lang.String workflow, java.lang.String location) throws java.lang.Exception
ExceptionReportGenerator
create
in interface ExceptionReportGenerator
e
- the exceptionworkflow
- the workflow where it happenedlocation
- where in the workflow it happened.java.lang.Exception
- on error.protected ExceptionReport createReportObject(java.lang.Exception e, java.lang.String workflow, java.lang.String location)