Objectivity for Java Reference

com.objy.db
Class ObjectNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.objy.db.ObjyRuntimeException
                          |
                          +--com.objy.db.ObjectNotFoundException
All Implemented Interfaces:
Serializable

public class ObjectNotFoundException
extends ObjyRuntimeException

Signals an attempt to reference an object identifier for which there is no persistent object.

An exception of this class may occur because a basic object was moved or deleted and other objects contain references to that object. (References to a deleted object are removed automatically by bidirectional relationships and by name maps that maintain referential integrity.)

Note: You should not create or throw an exception of this class; you obtain an instance of this class by catching unchecked exceptions.

See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException()
          Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.
ObjectNotFoundException(String msg)
          Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.
 
Methods inherited from class com.objy.db.ObjyRuntimeException
errors, reportErrors, setErrors
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotFoundException

public ObjectNotFoundException()
Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.

You should not use this constructor directly.


ObjectNotFoundException

public ObjectNotFoundException(String msg)
Reserved for internal use; you obtain an exception of this class only by catching unchecked exceptions.

You should not use this constructor directly.


Objectivity for Java Reference

Copyright © 2000 Objectivity, Inc. All rights reserved.