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 Summary
Constructors Constructor Description ExceptionTrackerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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).
-
-
-
Constructor Detail
-
ExceptionTrackerImpl
public ExceptionTrackerImpl()
-
-
Method Detail
-
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 interfaceExceptionTracker
- Parameters:
exception
- to check- Returns:
- false if the exception has not been previously checked, true otherwise
-
-