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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
ExceptionTrackerImpl
public ExceptionTrackerImpl()
-
-
Method Details
-
exceptionLogged
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
-