public class KeyChangedException extends OtpErlangException
| Constructor and Description |
|---|
KeyChangedException(ErlangValue old_value)
Creates the exception with the given old value.
|
KeyChangedException(Throwable e,
ErlangValue old_value)
Creates the exception with the given old value taking the message of the
given throwable.
|
| Modifier and Type | Method and Description |
|---|---|
ErlangValue |
getOldValue()
Returns the (old) value stored in scalaris.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KeyChangedException(ErlangValue old_value)
old_value - the old value stored in scalarispublic KeyChangedException(Throwable e, ErlangValue old_value)
e - the exception to "re-throw"old_value - the old value stored in scalarispublic ErlangValue getOldValue()