org.apache.torque
Class OptimisticLockingFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.torque.TorqueException
              extended by org.apache.torque.OptimisticLockingFailedException
All Implemented Interfaces:
Serializable

public class OptimisticLockingFailedException
extends TorqueException

This exception is thrown if the database detects that a row in a table with optimistic locking was updated by another process.

Version:
$Id: OptimisticLockingFailedException.java 1448414 2013-02-20 21:06:35Z tfischer $
See Also:
Serialized Form

Constructor Summary
OptimisticLockingFailedException(String msg)
          Constructs a new ConcurrentUpdateException with specified detail message.
OptimisticLockingFailedException(String msg, Throwable nested)
          Constructs a new ConcurrentUpdateException with specified detail message and nested Throwable.
OptimisticLockingFailedException(Throwable nested)
          Constructs a new ConcurrentUpdateException with specified nested Throwable.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptimisticLockingFailedException

public OptimisticLockingFailedException(Throwable nested)
Constructs a new ConcurrentUpdateException with specified nested Throwable.

Parameters:
nested - the exception or error that caused this exception to be thrown.

OptimisticLockingFailedException

public OptimisticLockingFailedException(String msg,
                                        Throwable nested)
Constructs a new ConcurrentUpdateException with specified detail message and nested Throwable.

Parameters:
msg - the error message.
nested - the exception or error that caused this exception to be thrown.

OptimisticLockingFailedException

public OptimisticLockingFailedException(String msg)
Constructs a new ConcurrentUpdateException with specified detail message.

Parameters:
msg - the error message.


Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.