public class ExceptionReportWriterImpl extends Object implements ExceptionReportWriter
Constructor and Description |
---|
ExceptionReportWriterImpl() |
Modifier and Type | Method and Description |
---|---|
void |
writeReport(PrintWriter writer,
ExceptionAnalysis analysis)
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. |
public ExceptionReportWriterImpl()
public void writeReport(PrintWriter writer, Throwable exception)
ExceptionReportWriter
ExceptionAnalyzer
service)
and then writes the result to the writer.writeReport
in interface ExceptionReportWriter
writer
- the PrintWriter to write to, not nullexception
- the exception to look at, possibly nullpublic void writeReport(PrintWriter writer, ExceptionAnalysis analysis)
ExceptionReportWriter
writeReport
in interface ExceptionReportWriter
writer
- the PrintWriter to write to, not nullanalysis
- the exception to look at, possibly null5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.