throw new IllegalStateException("label idx file does not exist: "
+ labelFile.getAbsolutePath());
}
BIndexFile labelBFile = new BIndexFile(labelFile);
try {
labelBFile.open();
} catch (DbException e) {
throw new XQueryException("failed to open BFile: " + labelFile.getAbsolutePath(), e);
}
return labelBFile;
}