public class EntryExistsException extends CacheException
Region.Entry
that already exists in the
Region
.Region.create(Object, Object)
,
Region.Entry
,
Serialized FormConstructor and Description |
---|
EntryExistsException(String msg,
Object oldValue)
Constructs an instance of
EntryExistsException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
Object |
getOldValue()
Returns the old existing value that caused this exception.
|
void |
setOldValue(Object oldValue)
Sets the old existing value that caused this exception.
|
String |
toString() |
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public Object getOldValue()
public void setOldValue(Object oldValue)
oldValue
- the old existing value that caused this exceptionpublic String toString()
toString
in class CacheException