public class OptimisticLockException extends PersistenceBrokerException
Constructor and Description |
---|
OptimisticLockException()
Creates a new exception instance.
|
OptimisticLockException(java.lang.String msg)
Creates a new exception instance.
|
OptimisticLockException(java.lang.String msg,
java.lang.Object source)
Creates a new exception instance.
|
OptimisticLockException(java.lang.Throwable cause)
Creates a new exception instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getSourceObject()
Gets the violating object.
|
void |
setSourceObject(java.lang.Object sourceObject)
Sets the violating object.
|
getSourceException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
public OptimisticLockException()
public OptimisticLockException(java.lang.String msg)
msg
- The exception messagepublic OptimisticLockException(java.lang.String msg, java.lang.Object source)
msg
- The exception messagesource
- The violating objectpublic OptimisticLockException(java.lang.Throwable cause)
cause
- The base exception(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30