net.sf.ehcache.constructs.web

Class AlreadyCommittedException

public class AlreadyCommittedException extends ResponseHeadersNotModifiableException

This exception is thrown if, in particular, the javax.servlet.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 59 2006-04-30 03:41:39Z gregluck $

Author: Greg Luck

See Also: ResponseHeadersNotModifiableException

Constructor Summary
AlreadyCommittedException()
Constructor for the exception
AlreadyCommittedException(String message)
Constructs an exception with the message given

Constructor Detail

AlreadyCommittedException

public AlreadyCommittedException()
Constructor for the exception

AlreadyCommittedException

public AlreadyCommittedException(String message)
Constructs an exception with the message given

Parameters: message the message