Class 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
    • 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