public class EntryExistsException extends CacheException
Region.Entry
that already exists in the
Region
.Region.create(Object, Object)
,
Region.Entry
,
Serialized FormConstructor and Description |
---|
EntryExistsException(java.lang.String msg,
java.lang.Object oldValue)
Constructs an instance of
EntryExistsException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getOldValue()
Returns the old existing value that caused this exception.
|
void |
setOldValue(java.lang.Object oldValue)
Sets the old existing value that caused this exception.
|
java.lang.String |
toString() |
getRootCause
public EntryExistsException(java.lang.String msg, java.lang.Object oldValue)
EntryExistsException
with the specified detail message.msg
- the detail messagepublic java.lang.Object getOldValue()
public void setOldValue(java.lang.Object oldValue)
public java.lang.String toString()
toString
in class CacheException