Package org.semanticweb.owlapi.model
Class OWLOntologyResourceAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.semanticweb.owlapi.model.OWLRuntimeException
org.semanticweb.owlapi.model.OWLOntologyResourceAccessException
- All Implemented Interfaces:
Serializable
An exception to describe a problem in accessing an ontology. Since there
could be any kind of implementation of
OWLOntology
(and other model
interfaces), some of which may use secondary storage, such as a database
backend, there could be problems with accessing ontology objects such as
axioms. In such situations the implementation should wrap the implementation
specific exceptions in this exception and rethrow an instance of this
exception. Note that exceptions of this type are unchecked (runtime)
exceptions - this is because they represent potentially nasty situations
where client code calling methods such as getAxioms() probably doesn't know
(or care) how to handle situations where network/database connections fail.- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOWLOntologyResourceAccessException
(String message) OWLOntologyResourceAccessException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OWLOntologyResourceAccessException
- Parameters:
message
- message
-
OWLOntologyResourceAccessException
- Parameters:
message
- messagecause
- cause
-
OWLOntologyResourceAccessException
- Parameters:
cause
- cause
-