harpoon.Runtime.Transactions
Class TransactionAbortException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Field Summary
 CommitRecord abortUpTo
           
 
Constructor Summary
TransactionAbortException(CommitRecord abortUpTo)
          Creates a TransactionAbortException that will abort all parent subtransactions up to that specified by abortUpTo.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

abortUpTo

public final CommitRecord abortUpTo
Constructor Detail

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.

Method Detail

toString

public String toString()
Overrides:
toString in class Throwable