TransactionAbortedException class final Exceptions
Thrown when a transaction was rolled back.
If the callback passed to Database.transact throw an Exception then the transaction is rolled back and the TransactionAbortedException is thrown. The exception that caused Database.transact to rollback the transaction will be given as reason.
If the transaction was rolled back because the COMMIT
operation failed,
then the underlying OperationException from the database driver will be
given as reason.
- Inheritance
-
- Object
- DatabaseException
- TransactionAbortedException
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited