Class ExceptionReportWriterImpl
java.lang.Object
org.apache.tapestry5.internal.services.exceptions.ExceptionReportWriterImpl
- All Implemented Interfaces:
ExceptionReportWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeReport
(PrintWriter writer, Throwable exception) Analyzes the exception (using theExceptionAnalyzer
service) and then writes the result to the writer.void
writeReport
(PrintWriter writer, ExceptionAnalysis analysis) Writes the analyzed exception to the writer.
-
Constructor Details
-
ExceptionReportWriterImpl
public ExceptionReportWriterImpl()
-
-
Method Details
-
writeReport
Description copied from interface:ExceptionReportWriter
Analyzes the exception (using theExceptionAnalyzer
service) and then writes the result to the writer.- Specified by:
writeReport
in interfaceExceptionReportWriter
- Parameters:
writer
- the PrintWriter to write to, not nullexception
- the exception to look at, possibly null
-
writeReport
Description copied from interface:ExceptionReportWriter
Writes the analyzed exception to the writer.- Specified by:
writeReport
in interfaceExceptionReportWriter
- Parameters:
writer
- the PrintWriter to write to, not nullanalysis
- the exception to look at, possibly null
-