ehcache

net.sf.ehcache.constructs.web
Class AlreadyGzippedException

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.AlreadyGzippedException
All Implemented Interfaces:
java.io.Serializable

public class AlreadyGzippedException
extends CacheException

The web package performs gzipping operations. One cause of problems on web browsers is getting content that is double or triple gzipped. They will either get gobblydeegook or a blank page. This exception is thrown when a gzip is attempted on already gzipped content.

This exception should be logged and the causes investigated, which are likely to be going through a caching filter more than once. This exception is not normally recoverable from.

Version:
$Id: AlreadyGzippedException.java 519 2007-07-27 07:11:45Z gregluck $
Author:
Greg Luck
See Also:
Serialized Form

Constructor Summary
AlreadyGzippedException()
          Constructor for the exception
AlreadyGzippedException(java.lang.String message)
          Constructs an exception with the message given
 
Method Summary
 
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

AlreadyGzippedException

public AlreadyGzippedException()
Constructor for the exception


AlreadyGzippedException

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

Parameters:
message - the message

ehcache