A generator that dumps an XML representation of the exception raised during
pipeline execution.
XML representation includes root cause exception message, XML content for all
XMLizable exceptions in the chain, the Cocoon stack trace reflecting all
locations the original exception went through, the root cause exception stacktrace
and the full exception stacktrace.
The XML representation of the exception has following structure:
<ex:exception-report xmlns:ex="http://apache.org/cocoon/exception/1.0"
class="root.cause.class.Name">
<ex:location uri="..." line="..." column="...">
...
</ex:location>
<ex:message>
root cause message
</ex:message>
<!-- for each XMLizable exception in the cause chain: -->
<ex:content>
<-- output of XMLizable exception -->
</ex:content>
<ex:cocoon-stacktrace>
<!-- for each exception in the cause chain -->
<ex:exception>
<ex:message>...</ex:message>
<ex:locations>...</ex:locations>
</ex:exception>
</ex:cocoon-stacktrace>
<ex:stacktrace>
<-- root cause stacktrace -->
</ex:stacktrace>
<ex:full-stacktrace>
<-- full cause chain stacktrace -->
</ex:full-stacktrace>
</ex:exception-report>