log.info("_setHostingType: '" + uri + "' ontResolvableUri: " + ontResolvableUri +
"-> hostingType=" + hostingType);
}
public GetAllOntologiesResult getAllOntologies(boolean includeAllVersions) {
GetAllOntologiesResult result = new GetAllOntologiesResult();
try {
List<RegisteredOntologyInfo> list = _doGetAllOntologies(includeAllVersions);
result.setOntologyList(list);
}
catch (Throwable ex) {
String error = "Error getting list of all ontologies: " +ex.getMessage();
log.warn(error, ex);
result.setError(error);
}
return result;
}