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
ConstructorsConstructorDescriptionConstructor.StaleTransactionException(Transaction tx, String message) Constructor. -
Method Summary
Methods inherited from class io.permazen.core.TransactionException
getTransactionMethods 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- iftxis null
-
StaleTransactionException
Constructor.- Parameters:
tx- the stale transactionmessage- exception message- Throws:
IllegalArgumentException- iftxis null
-