Package org.apache.jena.ontology
Interface OntDocumentManager.ReadFailureHandler
-
- Enclosing class:
- OntDocumentManager
public static interface OntDocumentManager.ReadFailureHandler
Interface defining a handler call-back in the case that theOntDocumentManager
fails in an attempt to read the contents of a URL into a model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleFailedRead​(java.lang.String url, Model model, java.lang.Exception e)
Behaviour to invoke when theOntDocumentManager
tries and fails to read an ontology document from a given URL.
-
-
-
Method Detail
-
handleFailedRead
void handleFailedRead​(java.lang.String url, Model model, java.lang.Exception e)
Behaviour to invoke when theOntDocumentManager
tries and fails to read an ontology document from a given URL.- Parameters:
url
- The URL that the OntDocumentManager was trying to readmodel
- The model that the OntDocumentManager is reading intoe
- An exception indicating the reason for the failure to read the document
-
-