if(metadata.countDocuments() == 1 && metadata.getDocument("") != null && metadata.getDocument("").isSimpleManifest()) {
Logger.error(this, "Manifest is called \"\" for "+this, new Exception("error"));
name = "";
} else if(metaStrings.isEmpty()) {
FreenetURI u = uri;
String last = u.lastMetaString();
if(last == null || !last.equals(""))
u = u.addMetaStrings(new String[] { "" });
else
u = null;
throw new FetchException(FetchExceptionMode.NOT_ENOUGH_PATH_COMPONENTS, -1, false, null, u);