com.ibm.rational.test.lt.kernel.services
Class TransactionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.ibm.rational.test.lt.kernel.services.TransactionException
All Implemented Interfaces:
java.io.Serializable

public class TransactionException
extends java.lang.RuntimeException

TransactionException is a runtime exception that is thrown when a transaction is misused.

Conditions that lead to a TransactionException are: attempting to start a transaction that has been started, attempting to stop a transaction that has not been started, and getting the start time or the elapsed time of a transaction that has not been started. Also, any operation (except abort()) on a transaction that has been aborted will throw a TransactionException.

See Also:
ITransaction, ITestExecutionServices, Serialized Form

Constructor Summary
TransactionException()
           
TransactionException(java.lang.String message)
           
TransactionException(java.lang.String message, java.lang.Throwable cause)
           
TransactionException(java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionException

public TransactionException()

TransactionException

public TransactionException(java.lang.String message)
Parameters:
message -

TransactionException

public TransactionException(java.lang.String message,
                            java.lang.Throwable cause)
Parameters:
message -
cause -

TransactionException

public TransactionException(java.lang.Throwable cause)
Parameters:
cause -


Copyright (c) IBM Corp. and others 2005. All rights reserved