org.semanticweb.owlapi.reasoner
Class UndeclaredEntitiesException

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.reasoner.OWLReasonerRuntimeException
                      extended by org.semanticweb.owlapi.reasoner.UndeclaredEntitiesException
All Implemented Interfaces:
java.io.Serializable

public abstract class UndeclaredEntitiesException
extends OWLReasonerRuntimeException

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 21-Jan-2009 Indicates that a query was posed to the reasoner that contained undeclared entities. This exception is only thrown if the undeclared entity policy is set appropriately. (See UndeclaredEntityPolicy and OWLReasonerConfiguration.

See Also:
Serialized Form

Constructor Summary
UndeclaredEntitiesException(java.util.Set<OWLEntity> entities)
           
 
Method Summary
 java.util.Set<OWLEntity> getEntities()
          Gets the entities
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UndeclaredEntitiesException

public UndeclaredEntitiesException(java.util.Set<OWLEntity> entities)
Method Detail

getEntities

public java.util.Set<OWLEntity> getEntities()
Gets the entities

Returns:
The entities, none of which are contained in the signature of the union of a set of ontologies.

getMessage

public java.lang.String getMessage()
Returns the detail message string of this throwable.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string of this Throwable instance (which may be null).