SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

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

Fields inherited from class javax.jdo.JDOException
failed, nested
 
Constructor Summary
OptimisticLockException()
           
OptimisticLockException(String msg)
           
OptimisticLockException(String msg, Object failed)
           
OptimisticLockException(String msg, Throwable nested)
           
OptimisticLockException(String msg, Throwable[] nested)
           
OptimisticLockException(String msg, Throwable[] nested, Object failed)
           
 
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.
 
Methods inherited from class javax.jdo.JDOException
, getFailedObject, getNestedExceptions, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.