com.solarmetric.kodo.runtime
Class OptimisticLockException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--javax.jdo.JDOException
|
+--javax.jdo.JDOCanRetryException
|
+--javax.jdo.JDOUserException
|
+--com.solarmetric.kodo.runtime.UserException
|
+--com.solarmetric.kodo.runtime.OptimisticLockException
- All Implemented Interfaces:
- Serializable
- public class OptimisticLockException
- extends UserException
- implements Serializable
Indicates that an optimistic lock failure occured.
- See Also:
- Serialized Form
|
Method Summary |
Object |
writeReplace()
If the failed object in this exception cannot be
serialized, it will be replaced with the Object ID
of the object, or the stringified form of the object
if it is not persistent. |
OptimisticLockException
public OptimisticLockException()
OptimisticLockException
public OptimisticLockException(String msg)
OptimisticLockException
public OptimisticLockException(String msg,
Object failed)
OptimisticLockException
public OptimisticLockException(String msg,
Throwable nested)
OptimisticLockException
public OptimisticLockException(String msg,
Throwable[] nested)
OptimisticLockException
public OptimisticLockException(String msg,
Throwable[] nested,
Object failed)
writeReplace
public Object writeReplace()
throws ObjectStreamException
- If the failed object in this exception cannot be
serialized, it will be replaced with the Object ID
of the object, or the stringified form of the object
if it is not persistent.
- Overrides:
writeReplace in class UserException
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.