Top Description Constructors
org.springframework.dao

public Class DeadlockLoserDataAccessException

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

Generic exception thrown when the current process was a deadlock loser, and its transaction rolled back.

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

Author
Rod Johnson

Constructor Summary

AccessConstructor and Description
public
DeadlockLoserDataAccessException(String
the detail message
msg
,
Throwable
the root cause from the data access API in use
cause
)

Constructor for DeadlockLoserDataAccessException.

Constructor Detail

DeadlockLoserDataAccessExceptionback to summary
public DeadlockLoserDataAccessException(String msg, Throwable cause)

Constructor for DeadlockLoserDataAccessException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the data access API in use