org.springframework.dao
Class OptimisticLockingFailureException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.springframework.core.NestedRuntimeException
                          |
                          +--org.springframework.dao.DataAccessException
                                |
                                +--org.springframework.dao.OptimisticLockingFailureException
Direct Known Subclasses:
ObjectOptimisticLockingFailureException

public class OptimisticLockingFailureException
extends DataAccessException

Exception thrown on an optimistic locking violation. This exception will be thrown either by O/R mapping tools or by custom DAO implementations.

Author:
Rod Johnson
Version: $Id: OptimisticLockingFailureException.java,v 1.4 2003/11/02 12:53:05 johnsonr Exp $

Constructor Summary
OptimisticLockingFailureException(String msg)
           
OptimisticLockingFailureException(String msg, Throwable ex)
           

Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause

Methods inherited from class java.lang.Object
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals

Constructor Detail

OptimisticLockingFailureException

public OptimisticLockingFailureException(String msg)

OptimisticLockingFailureException

public OptimisticLockingFailureException(String msg, Throwable ex)