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
public class DuplicateReificationException extends ConstraintViolationException
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.ontopia.utils.OntopiaRuntimeException
cause
-
-
Constructor Summary
Constructors Constructor Description DuplicateReificationException(String message)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
check(ReifiableIF reifiable, TopicIF reifier)
INTERNAL: Checks reification logic-
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
-
-
-
-
Constructor Detail
-
DuplicateReificationException
public DuplicateReificationException(String message)
-
-
Method Detail
-
check
public static boolean check(ReifiableIF reifiable, TopicIF reifier)
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
-
-