org.apache.tapestry5.ioc.internal.services
Class ExceptionTrackerImpl

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

@Scope(value="perthread")
@PreventServiceDecoration
public class ExceptionTrackerImpl
extends Object
implements ExceptionTracker


Constructor Summary
ExceptionTrackerImpl()
           
 
Method Summary
 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface ExceptionTracker
Parameters:
exception - to check
Returns:
false if the exception has not been previously checked, true otherwise


Copyright © 2003-2012 The Apache Software Foundation.