Menu

#8 Intercept errors loading Jena model

open
7
2006-09-12
2006-09-12
No

Currently the Jena OntModel.read method does not
throw an exception or report (other than to the log)
a failure to load (import) some part of the model.
This means that a "cripled" model will continue in
relative silence and will subsequently fail. Around
9/5/06, the Jena team checked into Jena CVS an
enhancement that allows registration of a callback
function allowing notification of application code
(AcuityController) so that diagnosis of the error can
be reported and an exception thrown so the
application doesn't continue on.

Discussion