com.ibm.rational.test.lt.kernel.services
Class TransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.rational.test.lt.kernel.services.TransactionException
- All Implemented Interfaces:
- Serializable
public class TransactionException
- extends 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TransactionException
public TransactionException()
TransactionException
public TransactionException(String message)
- Parameters:
message
-
TransactionException
public TransactionException(String message,
Throwable cause)
- Parameters:
message
- cause
-
TransactionException
public TransactionException(Throwable cause)
- Parameters:
cause
-
© Copyright IBM Corp. 2012. All rights reserved.