public static class OWLOntologyLoaderListener.LoadingFinishedEvent extends OWLOntologyLoaderListener.LoadingEvent
Constructor and Description |
---|
LoadingFinishedEvent(OWLOntologyID ontologyID,
IRI documentIRI,
boolean imported,
Exception ex) |
Modifier and Type | Method and Description |
---|---|
Exception |
getException()
If the ontology was not loaded successfully then this method can be
used to access the exception that describes why the ontology was not
loaded successfully.
|
boolean |
isSuccessful()
Determines if the ontology was successfully loaded.
|
getDocumentIRI, getOntologyID, isImported
public LoadingFinishedEvent(OWLOntologyID ontologyID, IRI documentIRI, boolean imported, Exception ex)
public boolean isSuccessful()
true
if the ontology was successfully loaded,
false
if the ontology was not successfully loaded.
Note that an ontology being successfully loaded does not
imply that any ontologies that the ontology imports were
successfully loaded.public Exception getException()
null
if the ontology was loaded
successfully.Copyright © 2020 The University of Manchester. All rights reserved.