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

    Modifier and Type
    Method
    Description
    boolean
    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 Details

    • exceptionLogged

      boolean exceptionLogged(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