net.sf.ehcache.constructs.web
Class AlreadyCommittedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.ehcache.CacheException
net.sf.ehcache.constructs.web.ResponseHeadersNotModifiableException
net.sf.ehcache.constructs.web.AlreadyCommittedException
- All Implemented Interfaces:
- Serializable
public class AlreadyCommittedException
- extends ResponseHeadersNotModifiableException
This exception is thrown if, in particular, the ServletResponse.isCommitted()
method shows the response has been committed. A commited response has already had its status code and headers written.
One situation that can cause this problem is using jsp:include to include a full, cached page in another
page. When the JSP page is entered the response gets committed.
- Version:
- $Id: AlreadyCommittedException.java 744 2008-08-16 20:10:49Z gregluck $
- Author:
- Greg Luck
- See Also:
ResponseHeadersNotModifiableException,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AlreadyCommittedException
public AlreadyCommittedException()
- Constructor for the exception
AlreadyCommittedException
public AlreadyCommittedException(String message)
- Constructs an exception with the message given
- Parameters:
message - the message
Copyright © 2003-2011 Terracotta, Inc.. All Rights Reserved.