org.springframework.dao
Class CannotAcquireLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.ConcurrencyFailureException
org.springframework.dao.CannotAcquireLockException
- All Implemented Interfaces:
- Serializable
- public class CannotAcquireLockException
- extends ConcurrencyFailureException
Exception thrown on failure to aquire a lock during an update,
for example during a "select for update" statement.
This exception will be thrown either by O/R mapping tools or
by custom DAO implementations.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
CannotAcquireLockException
public CannotAcquireLockException(String msg)
- Constructor for CannotAcquireLockException.
- Parameters:
msg
- message
CannotAcquireLockException
public CannotAcquireLockException(String msg,
Throwable ex)
- Constructor for CannotAcquireLockException.
- Parameters:
msg
- messageex
- root cause from data access API in use
Copyright (C) 2003-2004 The Spring Framework Project.