voldemort.versioning
Class ObsoleteVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
voldemort.VoldemortException
voldemort.VoldemortApplicationException
voldemort.versioning.ObsoleteVersionException
- All Implemented Interfaces:
- java.io.Serializable
public class ObsoleteVersionException
- extends VoldemortApplicationException
An exception that indicates an attempt by the user to overwrite a newer value
for a given key with an older value for the same key. This is a
application-level error, and indicates the application has attempted to write
stale data.
- See Also:
- Serialized Form
Method Summary |
java.lang.Throwable |
fillInStackTrace()
Override to avoid the overhead of stack trace. |
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObsoleteVersionException
public ObsoleteVersionException(java.lang.String message)
ObsoleteVersionException
public ObsoleteVersionException(java.lang.String message,
java.lang.Exception cause)
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Override to avoid the overhead of stack trace. For a given store there is
really only one method (put) that can throw this so retaining the stack
trace is not useful
- Overrides:
fillInStackTrace
in class java.lang.Throwable
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu