org.multiverse.api.exceptions
Class AtomicOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.multiverse.api.exceptions.TxnExecutionException
                  extended by org.multiverse.api.exceptions.AtomicOperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LockedException

public class AtomicOperationException
extends TxnExecutionException

A TxnExecutionException thrown when an atomic operation has failed (e.g. because the ref was locked).

Author:
Peter Veentjer.
See Also:
Serialized Form

Constructor Summary
AtomicOperationException()
          Creates a new AtomicOperationException.
AtomicOperationException(String message)
          Creates a new AtomicOperationException with the provided message.
AtomicOperationException(String message, Throwable cause)
          Creates a new AtomicOperationException with the provided message and cause.
AtomicOperationException(Throwable cause)
          Creates a new AtomicOperationException with the provided message and 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

AtomicOperationException

public AtomicOperationException()
Creates a new AtomicOperationException.


AtomicOperationException

public AtomicOperationException(String message)
Creates a new AtomicOperationException with the provided message.

Parameters:
message - the message

AtomicOperationException

public AtomicOperationException(String message,
                                Throwable cause)
Creates a new AtomicOperationException with the provided message and cause.

Parameters:
message - the message
cause - the cause of the message

AtomicOperationException

public AtomicOperationException(Throwable cause)
Creates a new AtomicOperationException with the provided message and cause.

Parameters:
cause - the cause of the exception.


Copyright © 2012. All Rights Reserved.