Class DuplicateRuleNameException

    • Constructor Detail

      • DuplicateRuleNameException

        public DuplicateRuleNameException​(Package pkg,
                                          RuleImpl originalRule,
                                          RuleImpl conflictingRule)
        Parameters:
        pkg - The Package.
        originalRule - The Rule already in the Package.
        conflictingRule - The new, conflicting Rule.
        See Also:
        Exception()
      • DuplicateRuleNameException

        public DuplicateRuleNameException​(Package pkg,
                                          RuleImpl originalRule,
                                          RuleImpl conflictingRule,
                                          Throwable cause)
        Parameters:
        pkg - The Package.
        originalRule - The Rule already in the Package.
        conflictingRule - The new, conflicting Rule.
        See Also:
        Exception(Throwable cause)
    • Method Detail

      • getPackage

        public Package getPackage()
        Retrieve the Package.
        Returns:
        The Package.
      • getOriginalRule

        public RuleImpl getOriginalRule()
        Retrieve the original Rule in the Package.
        Returns:
        The Rule.
      • getConflictingRule

        public RuleImpl getConflictingRule()
        Retrieve the new conflicting Rule.
        Returns:
        The Rule.