org.semanticweb.owlapi.model
Class OWLOntologyResourceAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.semanticweb.owlapi.model.OWLRuntimeException
                  extended by org.semanticweb.owlapi.model.OWLOntologyResourceAccessException
All Implemented Interfaces:
java.io.Serializable

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

OWLOntologyResourceAccessException

public OWLOntologyResourceAccessException(java.lang.String message)

OWLOntologyResourceAccessException

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

OWLOntologyResourceAccessException

public OWLOntologyResourceAccessException(java.lang.Throwable cause)