Module org.apache.jena.core
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 the
OntDocumentManager
fails in an attempt to read the contents of a URL into a model.-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleFailedRead(String url, Model model, Exception e) Behaviour to invoke when theOntDocumentManagertries and fails to read an ontology document from a given URL.
-
Method Details
-
handleFailedRead
Behaviour to invoke when theOntDocumentManagertries 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
-