org.multiverse.stms.alpha
Class OptimisticLockingFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.multiverse.stms.alpha.OptimisticLockingFailureException
All Implemented Interfaces:
Serializable

public class OptimisticLockingFailureException
extends RuntimeException

A RuntimeException that indicates that an optimistic locking failure happened.

A optimistic locking failure is thrown when the version of a tranlocal is read in one transaction, and used together with org.multiverse.stms.alpha.programmatic.AlphaProgrammaticReference#atomicCompareAndSet(Object, long).

Author:
Peter Veentjer
See Also:
Serialized Form

Constructor Summary
OptimisticLockingFailureException()
           
OptimisticLockingFailureException(String message)
           
OptimisticLockingFailureException(String message, Throwable cause)
           
OptimisticLockingFailureException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

OptimisticLockingFailureException

public OptimisticLockingFailureException()

OptimisticLockingFailureException

public OptimisticLockingFailureException(Throwable cause)

OptimisticLockingFailureException

public OptimisticLockingFailureException(String message)

OptimisticLockingFailureException

public OptimisticLockingFailureException(String message,
                                         Throwable cause)


Copyright © 2008-2010 Multiverse. All Rights Reserved.