Save This Page
Home » spring-framework-2.5.6-with-dependencies » org.springframework » transaction » [javadoc | source]
org.springframework.transaction
public class: CannotCreateTransactionException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.springframework.core.NestedRuntimeException
               org.springframework.transaction.TransactionException
                  org.springframework.transaction.CannotCreateTransactionException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    NestedTransactionNotSupportedException, TransactionSuspensionNotSupportedException

Exception thrown when a transaction can't be created using an underlying transaction API such as JTA.
Constructor:
 public CannotCreateTransactionException(String msg) 
    Constructor for CannotCreateTransactionException.
    Parameters:
    msg - the detail message
 public CannotCreateTransactionException(String msg,
    Throwable cause) 
    Constructor for CannotCreateTransactionException.
    Parameters:
    msg - the detail message
    cause - the root cause from the transaction API in use
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait