Class ExceptionTrackerImpl

java.lang.Object
org.apache.tapestry5.ioc.internal.services.ExceptionTrackerImpl
All Implemented Interfaces:
ExceptionTracker

@Scope("perthread") @PreventServiceDecoration public class ExceptionTrackerImpl extends Object implements ExceptionTracker
  • Constructor Details

  • Method Details

    • exceptionLogged

      public boolean exceptionLogged(Throwable exception)
      Description copied from interface: ExceptionTracker
      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.
      Specified by:
      exceptionLogged in interface ExceptionTracker
      Parameters:
      exception - to check
      Returns:
      false if the exception has not been previously checked, true otherwise