org.multiverse.api.exceptions
Class IllegalTxnStateException

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.IllegalTxnStateException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbortOnlyException, DeadTxnException, PreparedTxnException, ReadonlyException

public class IllegalTxnStateException
extends TxnExecutionException

A TxnExecutionException thrown when an operation is executed on a Txn when it is not in a valid state for that operation.

Author:
Peter Veentjer
See Also:
Serialized Form

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

IllegalTxnStateException

public IllegalTxnStateException()
Creates a new IllegalTxnStateException.


IllegalTxnStateException

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

Parameters:
message - the message of the exception.

IllegalTxnStateException

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

Parameters:
message - the message of the exception.
cause - the cause of the exception.


Copyright © 2012. All Rights Reserved.