📄 objectnamenotfoundexception.java
字号:
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
{
/**
* 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;
}
*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -