com.gemstone.gemfire.cache
Class EntryExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.EntryExistsException
- All Implemented Interfaces:
- Serializable
public class EntryExistsException
- extends CacheException
Thrown when attempting to create a Region.Entry that already
exists in the Region.
- Since:
- 3.0
- See Also:
Region.create(Object, Object),
Region.Entry,
Serialized Form
EntryExistsException
public EntryExistsException(String msg,
Object oldValue)
- Constructs an instance of
EntryExistsException with the specified detail message.
- Parameters:
msg - the detail message- Since:
- 6.5
getOldValue
public Object getOldValue()
- Returns the old existing value that caused this exception.
setOldValue
public void setOldValue(Object oldValue)
- Sets the old existing value that caused this exception.
toString
public String toString()
- Overrides:
toString in class CacheException
Copyright © 1997-2011 VMware, Inc. All rights reserved.