Interface OntDocumentManager.ReadFailureHandler

  • Enclosing class:
    OntDocumentManager

    public static interface OntDocumentManager.ReadFailureHandler
    Interface defining a handler call-back in the case that the OntDocumentManager fails in an attempt to read the contents of a URL into a model.
    • Method Detail

      • handleFailedRead

        void handleFailedRead​(java.lang.String url,
                              Model model,
                              java.lang.Exception e)
        Behaviour to invoke when the OntDocumentManager tries and fails to read an ontology document from a given URL.
        Parameters:
        url - The URL that the OntDocumentManager was trying to read
        model - The model that the OntDocumentManager is reading into
        e - An exception indicating the reason for the failure to read the document