Class COM.odi.ObjectException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----COM.odi.ObjectStoreException
                                   |
                                   +----COM.odi.ObjectException

public class ObjectException
extends ObjectStoreException
A superclass of all exceptions related to persistent objects, and the class of exception thrown for ObjectStore version restrictions. Also, this exception is thrown when most API entry points are called on a stale object. In some situations, an application can invoke ObjectStore.isStale() or Persistent.isCPlusPlus() to predict whether or not this exception will be thrown.



Copyright © 1996, 1997, 1998 Object Design, Inc. All rights reserved.