com.interface21.dao
Class OptimisticLockingFailureException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.dao.DataAccessException
                                |
                                +--com.interface21.dao.OptimisticLockingFailureException
All Implemented Interfaces:
HasRootCause, java.io.Serializable

public class OptimisticLockingFailureException
extends DataAccessException

Exception thrown on an optimistic locking violation. This exception will generally be thrown by DAOs, rather than a resource abstraction layer such as the com.interface21.jdbc.object JDBC abstraction layer.

Version:
$Id: OptimisticLockingFailureException.java,v 1.1.1.1 2003/02/11 08:10:19 johnsonr Exp $
Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
OptimisticLockingFailureException(java.lang.String s)
          Constructor for OptimisticLockingFailureDataAccessException.
OptimisticLockingFailureException(java.lang.String s, java.lang.Throwable ex)
          Constructor for OptimisticLockingFailureDataAccessException.
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, 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 s)
Constructor for OptimisticLockingFailureDataAccessException.
Parameters:
s - mesg

OptimisticLockingFailureException

public OptimisticLockingFailureException(java.lang.String s,
                                         java.lang.Throwable ex)
Constructor for OptimisticLockingFailureDataAccessException.
Parameters:
s - mesg
ex - root cause


Rod Johnson and Spring contributors 2001-2003.