Package io.permazen.core
Class StaleTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.permazen.core.DatabaseException
io.permazen.core.TransactionException
io.permazen.core.StaleTransactionException
- All Implemented Interfaces:
Serializable
Thrown when a transaction that has been committed, rolled back, or otherwise invalidated is accessed.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor.StaleTransactionException
(Transaction tx, String message) Constructor. -
Method Summary
Methods inherited from class io.permazen.core.TransactionException
getTransaction
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StaleTransactionException
Constructor.- Parameters:
tx
- the stale transaction- Throws:
IllegalArgumentException
- iftx
is null
-
StaleTransactionException
Constructor.- Parameters:
tx
- the stale transactionmessage
- exception message- Throws:
IllegalArgumentException
- iftx
is null
-