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.7 2004/04/04 23:53:30 brianm Exp $
Author:
Thomas Mahler
See Also:
Serialized Form

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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2