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(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.
 

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


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP