harpoon.Runtime.Transactions
Class TransactionAbortException
java.lang.Object
java.lang.Throwable
java.lang.Exception
harpoon.Runtime.Transactions.TransactionAbortException
- All Implemented Interfaces:
- Serializable
public class TransactionAbortException
- extends Exception
A TransactionAbortException
is thrown to indicate
the forced-suicide of a transaction. It
- Version:
- $Id: TransactionAbortException.java,v 1.3 2004/07/02 00:03:20 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- Serialized Form
abortUpTo
public final CommitRecord abortUpTo
TransactionAbortException
public TransactionAbortException(CommitRecord abortUpTo)
- Creates a
TransactionAbortException
that will
abort all parent subtransactions up to that specified by
abortUpTo
. If the parameter is null
,
the entire transaction is aborted.
toString
public String toString()
- Overrides:
toString
in class Throwable