net.sf.ehcache.constructs.web.filter
Class FilterNonReentrantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.ehcache.CacheException
net.sf.ehcache.constructs.web.filter.FilterNonReentrantException
- All Implemented Interfaces:
- Serializable
public class FilterNonReentrantException
- extends net.sf.ehcache.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 744 2008-08-16 20:10:49Z gregluck $
- Author:
- Greg Luck
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
FilterNonReentrantException
public FilterNonReentrantException()
- Constructor for the exception
FilterNonReentrantException
public FilterNonReentrantException(String message)
- Constructs an exception with the message given
- Parameters:
message - the message
Copyright © 2003-2011 Terracotta, Inc.. All Rights Reserved.