Class OWLOntologyResourceAccessException

All Implemented Interfaces:
Serializable

public class OWLOntologyResourceAccessException extends OWLRuntimeException
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 Details

    • OWLOntologyResourceAccessException

      public OWLOntologyResourceAccessException(String message)
      Parameters:
      message - message
    • OWLOntologyResourceAccessException

      public OWLOntologyResourceAccessException(String message, Throwable cause)
      Parameters:
      message - message
      cause - cause
    • OWLOntologyResourceAccessException

      public OWLOntologyResourceAccessException(Throwable cause)
      Parameters:
      cause - cause