org.springframework.dao
Class OptimisticLockingFailureException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.OptimisticLockingFailureException
All Implemented Interfaces:
java.io.Serializable
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.

Version:
$Id: OptimisticLockingFailureException.java,v 1.5 2004/03/18 02:46:07 trisberg Exp $
Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
OptimisticLockingFailureException(java.lang.String msg)
           
OptimisticLockingFailureException(java.lang.String msg, java.lang.Throwable ex)
           
 
Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptimisticLockingFailureException

public OptimisticLockingFailureException(java.lang.String msg)

OptimisticLockingFailureException

public OptimisticLockingFailureException(java.lang.String msg,
                                         java.lang.Throwable ex)


Copyright (C) 2003-2004 The Spring Framework Project.