org.multiverse.api.exceptions
Class TxnExecutionException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AtomicOperationException, IllegalCommuteException, IllegalTxnStateException, PropagationException, RetryException, StmMismatchException

public class TxnExecutionException
extends RuntimeException

A RuntimeException thrown when something fails while executing a Txn.

This exception is not caught by the TxnExecutor.

Author:
Peter Veentjer.
See Also:
Serialized Form

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

TxnExecutionException

public TxnExecutionException()
Creates a new TransactionalExecutionException.


TxnExecutionException

public TxnExecutionException(String message)
Creates a new TransactionalExecutionException with the provided message and cause.

Parameters:
message - message of the exception.

TxnExecutionException

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

Parameters:
message - the message of the exception.
cause - the Throwable that caused the exception.

TxnExecutionException

public TxnExecutionException(Throwable cause)
Creates a new TransactionalExecutionException with the provided cause.

Parameters:
cause - the Throwable that was the cause of this TransactionalExecutionException.


Copyright © 2012. All Rights Reserved.