com.interface21.transaction
Class NoTransactionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.transaction.TransactionException
                                |
                                +--com.interface21.transaction.TransactionUsageException
                                      |
                                      +--com.interface21.transaction.NoTransactionException
All Implemented Interfaces:
HasRootCause, java.io.Serializable

public class NoTransactionException
extends TransactionUsageException

Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction. This represents an illegal usage of the transaction API.

Since:
17-Mar-2003
Version:
$Revision: 1.1 $
Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
NoTransactionException(java.lang.String s)
           
NoTransactionException(java.lang.String s, java.lang.Throwable ex)
           
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoTransactionException

public NoTransactionException(java.lang.String s)
Parameters:
s -  

NoTransactionException

public NoTransactionException(java.lang.String s,
                              java.lang.Throwable ex)
Parameters:
s -  
ex -  


Rod Johnson and Spring contributors 2001-2003.