Package net.ontopia.topicmaps.core
Class ConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.ontopia.utils.OntopiaRuntimeException
-
- net.ontopia.topicmaps.core.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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.ontopia.utils.OntopiaRuntimeException
cause
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException(String message)
ConstraintViolationException(String message, Throwable cause)
ConstraintViolationException(Throwable cause)
-
Method Summary
-
Methods inherited from class net.ontopia.utils.OntopiaRuntimeException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-