Class ConstraintViolationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CrossTopicMapException, DuplicateReificationException, InvalidTopicMapException, NotRemovableException, ObjectRemovedException, UniquenessViolationException

public class ConstraintViolationException extends OntopiaRuntimeException
PUBLIC: Thrown when an object model constraint is violated.

Extends OntopiaRuntimeException but does not provide additional methods; this is because the purpose is just to provide a different exception, to allow API users to handle them differently.

See Also:
  • Constructor Details

    • ConstraintViolationException

      public ConstraintViolationException(Throwable cause)
    • ConstraintViolationException

      public ConstraintViolationException(String message)
    • ConstraintViolationException

      public ConstraintViolationException(String message, Throwable cause)