org.apache.jcs.access.exception
Class ObjectExistsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended byorg.apache.jcs.access.exception.CacheException
                  extended byorg.apache.jcs.access.exception.ObjectExistsException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class ObjectExistsException
extends CacheException

I'm removing this exception from use. The overhead of throwing exceptions and the cumbersomeness of coding around exceptions warrants removal. Exceptions like this don't make sense to throw in the course of normal operations to signify a normal and expected condition. Returning null if an object isn't found is sufficient.

Author:
asmuts
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ObjectExistsException()
          Constructor for the ObjectExistsException object
ObjectExistsException(java.lang.String message)
          Constructor for the ObjectExistsException object
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectExistsException

public ObjectExistsException()
Constructor for the ObjectExistsException object


ObjectExistsException

public ObjectExistsException(java.lang.String message)
Constructor for the ObjectExistsException object

Parameters:
message -