@Override
public void bind(String name, Object obj, Attributes attrs)
throws NamingException {
//Note: No custom attributes allowed
File file = new File(base, name);
if (file.exists())
throw new NameAlreadyBoundException
(sm.getString("resources.alreadyBound", name));
rebind(name, obj, attrs);
}
如果不是这个NamingException 会怎么样呢,调用rebind方法出错的话 这个好像抛不出去吧
base变量在哪定义的呢?