org.apache.ojb.broker
Class OptimisticLockException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.commons.lang.exception.NestableRuntimeException
                  extended byorg.apache.ojb.broker.OJBRuntimeException
                      extended byorg.apache.ojb.broker.PersistenceBrokerException
                          extended byorg.apache.ojb.broker.OptimisticLockException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class OptimisticLockException
extends PersistenceBrokerException

Version:
$Id: OptimisticLockException.java,v 1.5 2002/09/21 15:34:16 brj Exp $
Author:
Thomas Mahler
See Also:
Serialized Form

Field Summary
protected  java.lang.Object sourceObject
           
 
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
delegate
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
OptimisticLockException()
          Constructor for OptimisticLockException.
OptimisticLockException(java.lang.String s)
          Constructor for OptimisticLockException.
OptimisticLockException(java.lang.String s, java.lang.Object source)
          Constructor for OptimisticLockException.
OptimisticLockException(java.lang.Throwable t)
          Constructor for OptimisticLockException.
 
Method Summary
 java.lang.Object getSourceObject()
          Gets the sourceObject.
 void setSourceObject(java.lang.Object sourceObject)
          Sets the sourceObject.
 
Methods inherited from class org.apache.ojb.broker.PersistenceBrokerException
getSourceException
 
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sourceObject

protected java.lang.Object sourceObject
Constructor Detail

OptimisticLockException

public OptimisticLockException()
Constructor for OptimisticLockException.


OptimisticLockException

public OptimisticLockException(java.lang.String s)
Constructor for OptimisticLockException.

Parameters:
s -

OptimisticLockException

public OptimisticLockException(java.lang.String s,
                               java.lang.Object source)
Constructor for OptimisticLockException.

Parameters:
s -

OptimisticLockException

public OptimisticLockException(java.lang.Throwable t)
Constructor for OptimisticLockException.

Parameters:
t -
Method Detail

getSourceObject

public java.lang.Object getSourceObject()
Gets the sourceObject.

Returns:
Returns a Object

setSourceObject

public void setSourceObject(java.lang.Object sourceObject)
Sets the sourceObject.

Parameters:
sourceObject - The sourceObject to set


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14