Package org.multiverse.api.exceptions
Class StmMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.multiverse.api.exceptions.TxnExecutionException
-
- org.multiverse.api.exceptions.StmMismatchException
-
- All Implemented Interfaces:
java.io.Serializable
public class StmMismatchException extends TxnExecutionException
ATxnExecutionException
thrown when a transaction encounters encounters a transactional object that belongs to a different Stm instance.Normally this exception is not thrown because only a single Stm instance, stored in the
GlobalStmInstance
is used.- See Also:
GlobalStmInstance
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StmMismatchException(java.lang.String message)
Creates a new StmMismatchException with the provided message.StmMismatchException(java.lang.String message, java.lang.Throwable cause)
Creates a new StmMismatchException with the provided message.
-
-
-
Constructor Detail
-
StmMismatchException
public StmMismatchException(java.lang.String message)
Creates a new StmMismatchException with the provided message.- Parameters:
message
- the message
-
StmMismatchException
public StmMismatchException(java.lang.String message, java.lang.Throwable cause)
Creates a new StmMismatchException with the provided message.- Parameters:
message
- the messagecause
- the cause
-
-