if(e.getCause()!=null && e.getCause() instanceof OWLOntologyChangeException) {
throw (OWLOntologyChangeException)e.getCause();
}
if(e.getCause()!=null && e.getCause() instanceof OWLOntologyAlreadyExistsException) {
OWLOntologyAlreadyExistsException ex=(OWLOntologyAlreadyExistsException)e.getCause();
throw new UnloadableImportException(ex, ontology.getOWLOntologyManager().getOWLDataFactory().getOWLImportsDeclaration(ex.getOntologyID().getOntologyIRI()));
}
Token currentToken = e.currentToken;
if (currentToken != null) {
int beginLine = currentToken.beginLine;
int beginColumn = currentToken.beginColumn;