com.hp.hpl.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
 void handleFailedRead(String url, Model model, Exception e)
          Behaviour to invoke when the OntDocumentManager tries and fails to read an ontology document from a given URL.
 

Method Detail

handleFailedRead

void handleFailedRead(String url,
                      Model model,
                      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


Licenced under the Apache License, Version 2.0