Top Description Constructors
org.springframework.dao

public Class CannotAcquireLockException

extends PessimisticLockingFailureException
Class Inheritance
Annotations
@SuppressWarnings:serial

Exception thrown on failure to acquire a lock during an update, for example during a "select for update" statement.

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

Author
Rod Johnson

Constructor Summary

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

Constructor for CannotAcquireLockException.

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

Constructor for CannotAcquireLockException.

Constructor Detail

CannotAcquireLockExceptionback to summary
public CannotAcquireLockException(String msg)

Constructor for CannotAcquireLockException.

Parameters
msg:String

the detail message

CannotAcquireLockExceptionback to summary
public CannotAcquireLockException(String msg, Throwable cause)

Constructor for CannotAcquireLockException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the data access API in use