if (! subpath.getParent().isDirectory())
throw new NamingException(L.l("parent of `{0}' must be directory",
name));
try {
subpath.mkdir();
} catch (IOException e) {
throw new ContextNotEmptyException(name);
}
return new PathJndiContext(subpath, _root);