org.apache.camel.spring.spi
Class TransactionRollbackException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.camel.spring.spi.TransactionRollbackException
All Implemented Interfaces:
Serializable

public class TransactionRollbackException
extends RuntimeException

We use a runtime exception to force Spring transaction manager to rollback the transaction.

Version:
See Also:
Serialized Form

Constructor Summary
TransactionRollbackException()
           
 
Method Summary
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

TransactionRollbackException

public TransactionRollbackException()
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Apache CAMEL