org.odmg
Class ObjectNameNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.odmg.ODMGException
              extended byorg.odmg.ObjectNameNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ObjectNameNotFoundException
extends ODMGException

An attempt to get a object via its name using Database.lookup and the name is not associated with an object in the database.

Version:
ODMG 3.0
Author:
David Jordan (as Java Editor of the Object Data Management Group)
See Also:
Database.lookup(java.lang.String), Serialized Form

Constructor Summary
ObjectNameNotFoundException()
          Construct an instance of the exception.
ObjectNameNotFoundException(java.lang.String msg)
          Construct an instance of the exception with a descriptive message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNameNotFoundException

public ObjectNameNotFoundException()
Construct an instance of the exception.


ObjectNameNotFoundException

public ObjectNameNotFoundException(java.lang.String msg)
Construct an instance of the exception with a descriptive message.

Parameters:
msg - A message describing the exception.


(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2