Package org.multiverse.api.exceptions
package org.multiverse.api.exceptions
-
ClassDescriptionAn
IllegalTxnStateException
thrown when aTxn
is configured as abort only and a prepare/commit is executed.ATxnExecutionException
thrown when an atomic operation has failed (e.g.AnError
thrown to regulate control flow inside multiverseTxnExecutor
.AnIllegalTxnStateException
thrown when an action is executed on aTxn
that is either committed or aborted.ATxnExecutionException
thrown whenTxn
access is done while a commuting function is being evaluated.AnIllegalStateException
thrown when aTxnFactory
can't be created because theTxnConfig
is not correct.ATxnExecutionException
thrown when an operation is executed on aTxn
when it is not in a valid state for that operation.ARuntimeException
thrown when a checked exception is thrown but can't be rethrown.AnAtomicOperationException
thrown when an atomic operation was executed on aTxnObject
while it was locked.AnIllegalTxnStateException
thrown when an operation is executed on aTxn
while the transaction is prepared.AnIllegalStateException
throw when there is a conflict with theTxn
propagation.AnIllegalTxnStateException
thrown when a write action is executed using a readonlyTxn
.AControlFlowError
thrown when a reading or writing aTxnObject
failed, e.g.AControlFlowError
thrown when an explicit retry is done on aTxn
.ATxnExecutionException
thrown when retrying a transaction for another attempt fails.ARetryException
thrown when the blocking operation on aTxn
using the retry has been interrupted.ARetryException
thrown when aStmUtils.retry()
orTxn.retry()
is done while theTxn
doesn't allow blocking transactions.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.ARetryException
thrown when a transaction times out while it blocks on a retry (so waits for an update).AControlFlowError
thrown for dealing with the speculative configuration mechanism.ATxnExecutionException
thrown when a transaction encounters encounters a transactional object that belongs to a different Stm instance.ARuntimeException
thrown when some part of the implementation is missing.ARetryException
thrown when aTxn
is retried too many times.ARuntimeException
thrown when something fails while executing aTxn
.APropagationException
thrown when noTxn
is available while it is mandatory.APropagationException
thrown when aTxn
is found, but is not allowed.