public class TransactionException extends DatabaseException
Transaction
.Constructor and Description |
---|
TransactionException(Transaction tx,
String message)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
getTransaction()
Get the associated transaction.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TransactionException(Transaction tx, String message)
tx
- the transactionmessage
- exception messageIllegalArgumentException
- if tx
is nullpublic Transaction getTransaction()
Copyright © 2022. All rights reserved.