Class UnparsableOntologyException

All Implemented Interfaces:
Serializable

public class UnparsableOntologyException extends OWLOntologyCreationException
A class that describes how ontology parsing failed. This class collects parse errors and the parsers that generated the errors.
Since:
2.2.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
See Also:
  • Constructor Details

  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getDocumentIRI

      public IRI getDocumentIRI()
      Gets the ontology document IRI from which there was an attempt to parse an ontology.
      Returns:
      The ontology document IRI
    • getExceptions

      public Map<OWLParser,OWLParserException> getExceptions()
      Gets a map that lists the parsers (that were used to parse an ontology) and the errors that they generated.
      Returns:
      The map of parsers and their errors.