ehcache]]>

net.sf.ehcache.constructs.web.filter
Class FilterNonReentrantException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.ehcache.CacheException
                  extended by net.sf.ehcache.constructs.web.filter.FilterNonReentrantException
All Implemented Interfaces:
java.io.Serializable

public class FilterNonReentrantException
extends CacheException

Thrown when it is detected that a caching filter's Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) method is reentered by the same thread.

Reentrant calls will block indefinitely because the first request has not yet unblocked the cache.

This condition usually happens declaratively when the same filter is specified twice in a filter chain or programmatically when a RequestDispatcher includes or forwards back to the same URL, either directly or indirectly.

Version:
$Id: FilterNonReentrantException.java 512 2007-07-10 09:18:45Z gregluck $
Author:
Greg Luck
See Also:
Serialized Form

Constructor Summary
FilterNonReentrantException()
          Constructor for the exception
FilterNonReentrantException(java.lang.String message)
          Constructs an exception with the message given
 
Method Summary
 
Methods inherited from class net.sf.ehcache.CacheException
getInitialCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterNonReentrantException

public FilterNonReentrantException()
Constructor for the exception


FilterNonReentrantException

public FilterNonReentrantException(java.lang.String message)
Constructs an exception with the message given

Parameters:
message - the message

ehcache]]>