Class RuleViolationException

  • All Implemented Interfaces:
    Serializable

    public class RuleViolationException
    extends RegistryException
    Exception thrown when a configured rule is violated, rejecting an artifact content update.
    Author:
    Ales Justin
    See Also:
    Serialized Form
    • Constructor Detail

      • RuleViolationException

        public RuleViolationException​(String message,
                                      RuleType ruleType,
                                      String ruleConfiguration,
                                      Throwable cause)
        Constructor.
        Parameters:
        message -
        ruleType -
        ruleConfiguration -
        cause -
      • RuleViolationException

        public RuleViolationException​(String message,
                                      RuleType ruleType,
                                      String ruleConfiguration,
                                      Set<RuleViolation> causes)
        Constructor.
        Parameters:
        message -
        ruleType -
        ruleConfiguration -
        causes -
      • RuleViolationException

        public RuleViolationException​(String message,
                                      RuleType ruleType,
                                      String ruleConfiguration,
                                      Set<RuleViolation> causes,
                                      Throwable cause)
        Constructor.
        Parameters:
        message -
        ruleType -
        ruleConfiguration -
        causes -
        cause -