Package net.ontopia.topicmaps.core
Class DuplicateReificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.ontopia.utils.OntopiaRuntimeException
net.ontopia.topicmaps.core.ConstraintViolationException
net.ontopia.topicmaps.core.DuplicateReificationException
- All Implemented Interfaces:
Serializable
INTERNAL: Thrown when a reifiable object is reified by a topic that
already reifies another reifiable object.
Extends ConstraintViolationException 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.
- Since:
- 5.4.0
- See Also:
-
Field Summary
Fields inherited from class net.ontopia.utils.OntopiaRuntimeException
cause -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheck(ReifiableIF reifiable, TopicIF reifier) INTERNAL: Checks reification logicMethods inherited from class net.ontopia.utils.OntopiaRuntimeException
getCause, getMessage, printStackTrace, printStackTrace, printStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
DuplicateReificationException
-
-
Method Details
-
check
INTERNAL: Checks reification logic- Returns:
- true if all operations are done and no more actions are needed
- Throws:
InvalidTopicMapException- if the reifier already reifies a different object
-