public class

CannotCreateTransactionException

extends TransactionException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.transaction.TransactionException
             ↳ org.springframework.transaction.CannotCreateTransactionException
Known Direct Subclasses

Class Overview

Exception thrown when a transaction can't be created using an underlying transaction API such as JTA.

Summary

Public Constructors
CannotCreateTransactionException(String msg)
Constructor for CannotCreateTransactionException.
CannotCreateTransactionException(String msg, Throwable cause)
Constructor for CannotCreateTransactionException.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

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