} catch (UnloadableImportException e) {
// If our ontology contains imports and one or more of the imports
// could not be loaded then an
// UnloadableImportException will be thrown (depending on the
// missing imports handling policy)
OWLOntologyCreationException cause = e
.getOntologyCreationException();
throw new ActivityUserException(new ActivityInferenceException(
"ActivityInferenceException", "Could not load import: "
+ e.getImportsDeclaration() + "Reason: "
+ cause.getMessage()));
} catch (OWLOntologyCreationException e) {
throw new ActivityUserException(new ActivityInferenceException(
"ActivityInferenceException", "Reason: " + e.getMessage()));
} catch (PipeClosedException e) {
// TODO Auto-generated catch block