org.apache.tapestry5.services

## Interface ExceptionReportWriter

- All Known Implementing Classes:
    ExceptionReportWriterImpl

      public interface ExceptionReportWriter

  Used by the default `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.
  Since:
    5.4

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### writeReport

          void writeReport(PrintWriter writer,
                           Throwable exception)

      Analyzes the exception (using the `ExceptionAnalyzer` service) and then writes the result to the writer.

    - #### writeReport

          void writeReport(PrintWriter writer,
                           ExceptionAnalysis exception)

      Writes the analyzed exception to the writer.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.