package org.odmg;

/**
 * An attempt to get a object via its name using <code>Database.lookup</code>
 * and the name is not associated with an object in the database.
 * @author	David Jordan (as Java Editor of the Object Data Management Group)
 * @version ODMG 3.0
 * @see org.odmg.Database#lookup
 */

public class ObjectNameNotFoundException extends ODMGException
{
/*
	private	String	n;

* Construct an instance of the exception.
* @param	name	The name passed to Database.lookup that is not associated with
* any object in the database.

	public ObjectNameNotFoundException(String name)
  {
		super();
	n = name;
  }


*	Access the name that is not bound to any object in the database.
* @return	The name that was passed to Database.lookup.

  public String getName()
  {
  	return n;
  }
*/
/*
	private	String	n;

* Construct an instance of the exception.
* @param	name	The name passed to Database.lookup that is not associated with
* any object in the database.

	public ObjectNameNotFoundException(String name)
  {
		super();
	n = name;
  }


*	Access the name that is not bound to any object in the database.
* @return	The name that was passed to Database.lookup.

  public String getName()
  {
  	return n;
  }
*/
/*
	private	String	n;

* Construct an instance of the exception.
* @param	name	The name passed to Database.lookup that is not associated with
* any object in the database.

	public ObjectNameNotFoundException(String name)
  {
		super();
	n = name;
  }


*	Access the name that is not bound to any object in the database.
* @return	The name that was passed to Database.lookup.

  public String getName()
  {
  	return n;
  }
*/
    /**
     * Construct an instance of the exception.
     */
    public ObjectNameNotFoundException()
    {
        super();
    }

    /**
     * Construct an instance of the exception with a descriptive message.
     * @param msg	A message describing the exception.
     */
    public ObjectNameNotFoundException(String msg)
    {
        super(msg);
    }
/*
	private	String	n;

* Construct an instance of the exception.
* @param	name	The name passed to Database.lookup that is not associated with
* any object in the database.

	public ObjectNameNotFoundException(String name)
  {
		super();
	n = name;
  }


*	Access the name that is not bound to any object in the database.
* @return	The name that was passed to Database.lookup.

  public String getName()
  {
  	return n;
  }
*/
}
