Class ExceptionReportWriterImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.exceptions.ExceptionReportWriterImpl
-
- All Implemented Interfaces:
ExceptionReportWriter
public class ExceptionReportWriterImpl extends java.lang.Object implements ExceptionReportWriter
-
-
Constructor Summary
Constructors Constructor Description ExceptionReportWriterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteReport(java.io.PrintWriter writer, java.lang.Throwable exception)Analyzes the exception (using theExceptionAnalyzerservice) and then writes the result to the writer.voidwriteReport(java.io.PrintWriter writer, ExceptionAnalysis analysis)Writes the analyzed exception to the writer.
-
-
-
Constructor Detail
-
ExceptionReportWriterImpl
public ExceptionReportWriterImpl()
-
-
Method Detail
-
writeReport
public void writeReport(java.io.PrintWriter writer, java.lang.Throwable exception)
Description copied from interface:ExceptionReportWriterAnalyzes the exception (using theExceptionAnalyzerservice) and then writes the result to the writer.- Specified by:
writeReportin interfaceExceptionReportWriter- Parameters:
writer- the PrintWriter to write to, not nullexception- the exception to look at, possibly null
-
writeReport
public void writeReport(java.io.PrintWriter writer, ExceptionAnalysis analysis)
Description copied from interface:ExceptionReportWriterWrites the analyzed exception to the writer.- Specified by:
writeReportin interfaceExceptionReportWriter- Parameters:
writer- the PrintWriter to write to, not nullanalysis- the exception to look at, possibly null
-
-