Top Description Constructors
org.springframework.dao

public Class CannotSerializeTransactionException

extends PessimisticLockingFailureException
Class Inheritance
Annotations
@Deprecated
since:6.0.3
@SuppressWarnings:serial

Deprecated

since 6.0.3.

as of 6.0.3, in favor of PessimisticLockingFailureException/CannotAcquireLockException

Exception thrown on failure to complete a transaction in serialized mode due to update conflicts.

Consider handling the general PessimisticLockingFailureException instead, semantically including a wider range of locking-related failures.

Author
Rod Johnson

Constructor Summary

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

Constructor for CannotSerializeTransactionException.

public
CannotSerializeTransactionException(String
the detail message
msg
,
Throwable
the root cause from the data access API in use
cause
)

Constructor for CannotSerializeTransactionException.

Constructor Detail

CannotSerializeTransactionExceptionback to summary
public CannotSerializeTransactionException(String msg)

Constructor for CannotSerializeTransactionException.

Parameters
msg:String

the detail message

CannotSerializeTransactionExceptionback to summary
public CannotSerializeTransactionException(String msg, Throwable cause)

Constructor for CannotSerializeTransactionException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the data access API in use