LOG.info("Opening cluster file {}", clusterFile);
try {
db = isDefault ? fdb.open() : fdb.open(clusterFile);
} catch (FDBException e) {
if (e.getCode() == 1515) { // no_cluster_file_found
throw new NoClusterFileException(clusterFile);
}
else if (e.getCode() == 1513) { // file_not_readable
throw new ClusterFileNotReadableException(clusterFile);
}
else if (e.getCode() == 1516) { // cluster_file_too_large