Package org.multiverse.api.exceptions
-
Exception Summary Exception Description AbortOnlyException AnIllegalTxnStateException
thrown when aTxn
is configured as abort only and a prepare/commit is executed.AtomicOperationException ATxnExecutionException
thrown when an atomic operation has failed (e.g.DeadTxnException AnIllegalTxnStateException
thrown when an action is executed on aTxn
that is either committed or aborted.IllegalCommuteException ATxnExecutionException
thrown whenTxn
access is done while a commuting function is being evaluated.IllegalTxnFactoryException AnIllegalStateException
thrown when aTxnFactory
can't be created because theTxnConfig
is not correct.IllegalTxnStateException ATxnExecutionException
thrown when an operation is executed on aTxn
when it is not in a valid state for that operation.InvisibleCheckedException ARuntimeException
thrown when a checked exception is thrown but can't be rethrown.LockedException AnAtomicOperationException
thrown when an atomic operation was executed on aTxnObject
while it was locked.PreparedTxnException AnIllegalTxnStateException
thrown when an operation is executed on aTxn
while the transaction is prepared.PropagationException AnIllegalStateException
throw when there is a conflict with theTxn
propagation.ReadonlyException AnIllegalTxnStateException
thrown when a write action is executed using a readonlyTxn
.RetryException ATxnExecutionException
thrown when retrying a transaction for another attempt fails.RetryInterruptedException ARetryException
thrown when the blocking operation on aTxn
using the retry has been interrupted.RetryNotAllowedException ARetryException
thrown when aStmUtils.retry()
orTxn.retry()
is done while theTxn
doesn't allow blocking transactions.RetryNotPossibleException ARetryException
throw when aStmUtils.retry()
orTxn.retry()
done on aTxn
without the possibility of progress, for example when the readset of a transaction is empty.RetryTimeoutException ARetryException
thrown when a transaction times out while it blocks on a retry (so waits for an update).StmMismatchException ATxnExecutionException
thrown when a transaction encounters encounters a transactional object that belongs to a different Stm instance.TodoException ARuntimeException
thrown when some part of the implementation is missing.TooManyRetriesException ARetryException
thrown when aTxn
is retried too many times.TxnExecutionException ARuntimeException
thrown when something fails while executing aTxn
.TxnMandatoryException APropagationException
thrown when noTxn
is available while it is mandatory.TxnNotAllowedException APropagationException
thrown when aTxn
is found, but is not allowed. -
Error Summary Error Description ControlFlowError AnError
thrown to regulate control flow inside multiverseTxnExecutor
.PanicError AnError
thrown when the state of theStm
has been compromised.ReadWriteConflict AControlFlowError
thrown when a reading or writing aTxnObject
failed, e.g.RetryError AControlFlowError
thrown when an explicit retry is done on aTxn
.SpeculativeConfigurationError AControlFlowError
thrown for dealing with the speculative configuration mechanism.