Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » dao » [javadoc | source]
org.springframework.dao
public class: CannotAcquireLockException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.springframework.core.NestedRuntimeException
               org.springframework.dao.DataAccessException
                  org.springframework.dao.TransientDataAccessException
                     org.springframework.dao.ConcurrencyFailureException
                        org.springframework.dao.PessimisticLockingFailureException
                           org.springframework.dao.CannotAcquireLockException

All Implemented Interfaces:
    Serializable

Exception thrown on failure to aquire a lock during an update, for example during a "select for update" statement.
Constructor:
 public CannotAcquireLockException(String msg) 
    Constructor for CannotAcquireLockException.
    Parameters:
    msg - the detail message
 public CannotAcquireLockException(String msg,
    Throwable cause) 
    Constructor for CannotAcquireLockException.
    Parameters:
    msg - the detail message
    cause - the root cause from the data access API in use
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait