| org.apache.ojb.broker.OJBRuntimeException org.apache.ojb.broker.PersistenceBrokerException org.apache.ojb.broker.OptimisticLockException
OptimisticLockException | public class OptimisticLockException extends PersistenceBrokerException (Code) | | Exception that is thrown if a violation of an optimistic lock was detected.
author: Thomas Mahler version: $Id: OptimisticLockException.java,v 1.7.2.1 2005/12/21 22:22:07 tomdz Exp $ |
OptimisticLockException | public OptimisticLockException()(Code) | | Creates a new exception instance.
|
OptimisticLockException | public OptimisticLockException(String msg)(Code) | | Creates a new exception instance.
Parameters: msg - The exception message |
OptimisticLockException | public OptimisticLockException(String msg, Object source)(Code) | | Creates a new exception instance.
Parameters: msg - The exception message Parameters: source - The violating object |
OptimisticLockException | public OptimisticLockException(Throwable cause)(Code) | | Creates a new exception instance.
Parameters: cause - The base exception |
getSourceObject | public Object getSourceObject()(Code) | | Gets the violating object.
The object |
setSourceObject | public void setSourceObject(Object sourceObject)(Code) | | Sets the violating object.
Parameters: sourceObject - The object |
|
|