public interface ExceptionReportWriter
ExceptionReporter
implementation to convert an exception into
a stream of text that can be stored to a file. Other applications include sending the text via e-mail or other messaging
service.Modifier and Type | Method and Description |
---|---|
void |
writeReport(PrintWriter writer,
ExceptionAnalysis exception)
Writes the analyzed exception to the writer.
|
void |
writeReport(PrintWriter writer,
Throwable exception)
Analyzes the exception (using the
ExceptionAnalyzer service)
and then writes the result to the writer. |
void writeReport(PrintWriter writer, Throwable exception)
ExceptionAnalyzer
service)
and then writes the result to the writer.writer
- the PrintWriter to write to, not nullexception
- the exception to look at, possibly nullvoid writeReport(PrintWriter writer, ExceptionAnalysis exception)
writer
- the PrintWriter to write to, not nullexception
- the exception to look at, possibly null5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.