Class OWLOntologyResourceAccessException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.semanticweb.owl.model.OWLRuntimeException
                  extended by org.semanticweb.owl.model.OWLOntologyResourceAccessException
All Implemented Interfaces:

public class OWLOntologyResourceAccessException
extends OWLRuntimeException

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 13-Apr-2007

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.

See Also:
Serialized Form

Constructor Summary
OWLOntologyResourceAccessException(java.lang.String message)
OWLOntologyResourceAccessException(java.lang.String message, java.lang.Throwable cause)
OWLOntologyResourceAccessException(java.lang.Throwable cause)
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public OWLOntologyResourceAccessException(java.lang.String message)


public OWLOntologyResourceAccessException(java.lang.String message,
                                          java.lang.Throwable cause)


public OWLOntologyResourceAccessException(java.lang.Throwable cause)