Class FreshEntitiesException

All Implemented Interfaces:
Serializable

public class FreshEntitiesException extends OWLReasonerRuntimeException
Indicates that a query whose signature contained fresh entities was posed to the reasoner. This exception is only thrown if the fresh entity policy is set appropriately. (See FreshEntityPolicy and OWLReasonerConfiguration.
Since:
3.0.0
Author:
Matthew Horridge, The University of Manchester, Information Management Group
See Also:
  • Constructor Details

    • FreshEntitiesException

      public FreshEntitiesException(Collection<OWLEntity> entities)
      Parameters:
      entities - fresh entities
    • FreshEntitiesException

      public FreshEntitiesException(Collection<OWLEntity> entities, @Nullable Throwable t)
      Parameters:
      entities - entities
      t - cause
    • FreshEntitiesException

      public FreshEntitiesException(OWLEntity entity)
      Parameters:
      entity - fresh entity
    • FreshEntitiesException

      public FreshEntitiesException(OWLEntity entity, @Nullable Throwable t)
      Parameters:
      entity - fresh entity
      t - cause
  • Method Details

    • getEntities

      public Collection<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 String getMessage()
      Overrides:
      getMessage in class Throwable