Class ObsoleteVersionException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by voldemort.VoldemortException
                  extended by voldemort.VoldemortApplicationException
                      extended by voldemort.versioning.ObsoleteVersionException
All Implemented Interfaces:

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

Constructor Summary
ObsoleteVersionException(java.lang.String message)
ObsoleteVersionException(java.lang.String message, java.lang.Exception cause)
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

Constructor Detail


public ObsoleteVersionException(java.lang.String message)


public ObsoleteVersionException(java.lang.String message,
                                java.lang.Exception cause)
Method Detail


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

fillInStackTrace in class java.lang.Throwable

Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu