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)
ExceptionReportWriterExceptionAnalyzer service)
and then writes the result to the writer.writeReport in interface ExceptionReportWriterwriter - the PrintWriter to write to, not nullexception - the exception to look at, possibly nullpublic void writeReport(PrintWriter writer, ExceptionAnalysis analysis)
ExceptionReportWriterwriteReport in interface ExceptionReportWriterwriter - the PrintWriter to write to, not nullanalysis - the exception to look at, possibly null5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.