org.multiverse.api.exceptions
Class ReadConflict

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.multiverse.api.exceptions.ControlFlowError
              extended by org.multiverse.api.exceptions.ReadConflict
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LockNotFreeReadConflict, OldVersionNotFoundReadConflict, UncommittedReadConflict

public abstract class ReadConflict
extends ControlFlowError

An Error that indicates that a load a transactional object using a transaction failed. See the subclasses of this error for more details about these situations.

A WriteConflict can in most cases be solved by retrying the transaction.

Author:
Peter Veentjer.
See Also:
Serialized Form

Constructor Summary
ReadConflict()
           
ReadConflict(String message)
           
ReadConflict(String message, Throwable cause)
           
ReadConflict(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

ReadConflict

public ReadConflict()

ReadConflict

public ReadConflict(String message)

ReadConflict

public ReadConflict(String message,
                    Throwable cause)

ReadConflict

public ReadConflict(Throwable cause)


Copyright © 2008-2010 Multiverse. All Rights Reserved.