Top Description Constructors
org.springframework.transaction

public Class CannotCreateTransactionException

extends TransactionException
Class Inheritance
Known Direct Subclasses
org.springframework.transaction.NestedTransactionNotSupportedException, org.springframework.transaction.TransactionSuspensionNotSupportedException
Annotations
@SuppressWarnings:serial

Exception thrown when a transaction can't be created using an underlying transaction API such as JTA.
Author
Rod Johnson
Since
17.03.2003

Constructor Summary

AccessConstructor and Description
public
CannotCreateTransactionException(String
the detail message
msg
)

Constructor for CannotCreateTransactionException.

public
CannotCreateTransactionException(String
the detail message
msg
,
Throwable
the root cause from the transaction API in use
cause
)

Constructor for CannotCreateTransactionException.

Constructor Detail

CannotCreateTransactionExceptionback to summary
public CannotCreateTransactionException(String msg)

Constructor for CannotCreateTransactionException.

Parameters
msg:String

the detail message

CannotCreateTransactionExceptionback to summary
public CannotCreateTransactionException(String msg, Throwable cause)

Constructor for CannotCreateTransactionException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the transaction API in use