org.multiverse.api.exceptions
Class WriteSkewConflict

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.WriteConflict
                  extended by org.multiverse.api.exceptions.WriteSkewConflict
All Implemented Interfaces:
java.io.Serializable

public class WriteSkewConflict
extends WriteConflict

A WriteConflict that is thrown when a writeskew is detected and the transaction is not allowed to commit and therefore aborted.

Author:
Peter Veentjer
See Also:
Serialized Form

Field Summary
static WriteSkewConflict INSTANCE
           
static boolean reuse
           
 
Constructor Summary
WriteSkewConflict()
           
WriteSkewConflict(java.lang.String message)
           
WriteSkewConflict(java.lang.String message, java.lang.Throwable cause)
           
WriteSkewConflict(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getDescription()
           
 
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
 

Field Detail

reuse

public static final boolean reuse

INSTANCE

public static final WriteSkewConflict INSTANCE
Constructor Detail

WriteSkewConflict

public WriteSkewConflict()

WriteSkewConflict

public WriteSkewConflict(java.lang.Throwable cause)

WriteSkewConflict

public WriteSkewConflict(java.lang.String message)

WriteSkewConflict

public WriteSkewConflict(java.lang.String message,
                         java.lang.Throwable cause)
Method Detail

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class WriteConflict


Copyright © 2008-2010 Multiverse. All Rights Reserved.