Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » dao » [javadoc | source]
org.springframework.dao
public class: ConcurrencyFailureException [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

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    OptimisticLockingFailureException, DeadlockLoserDataAccessException, CannotSerializeTransactionException, CannotAcquireLockException, TopLinkOptimisticLockingFailureException, HibernateOptimisticLockingFailureException, JpaOptimisticLockingFailureException, HibernateOptimisticLockingFailureException, PessimisticLockingFailureException, JdoOptimisticLockingFailureException, ObjectOptimisticLockingFailureException

Exception thrown on concurrency failure.

This exception should be subclassed to indicate the type of failure: optimistic locking, failure to acquire lock, etc.

Constructor:
 public ConcurrencyFailureException(String msg) 
    Constructor for ConcurrencyFailureException.
    Parameters:
    msg - the detail message
 public ConcurrencyFailureException(String msg,
    Throwable cause) 
    Constructor for ConcurrencyFailureException.
    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