public class StmMismatchException extends TxnExecutionException
TxnExecutionException
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.
GlobalStmInstance
,
Serialized FormConstructor and 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.
|
public StmMismatchException(java.lang.String message)
message
- the messagepublic StmMismatchException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the cause