Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc.services
Interface ExceptionTracker

All Known Implementing Classes:
  ExceptionTrackerImpl

    public interface ExceptionTracker

Used by `LoggingDecorator` to track which exceptions have been logged during the current request (the ExceptionTracker is perthread). This keeps redundant information from appearing in the console output.

Method Summary
`boolean` | `exceptionLogged(java.lang.Throwable exception)` Returns true if the indicated exception has already been logged (it is assumed that the exception will be logged if this method returns false).

Method Detail

### exceptionLogged

    boolean exceptionLogged(java.lang.Throwable exception)

  Returns true if the indicated exception has already been logged (it is assumed that the exception will be logged if this method returns false). The exception is recorded for later checks.

  Parameters:
    `exception` - to check
  Returns:
    false if the exception has not been previously checked, true otherwise

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.