Package io.apicurio.registry.rules
Class RuleViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.apicurio.registry.types.RegistryException
-
- io.apicurio.registry.rules.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 Summary
Constructors Constructor Description RuleViolationException(String message, RuleType ruleType, String ruleConfiguration, Throwable cause)
Constructor.RuleViolationException(String message, RuleType ruleType, String ruleConfiguration, Set<RuleViolation> causes)
Constructor.RuleViolationException(String message, RuleType ruleType, String ruleConfiguration, Set<RuleViolation> causes, Throwable cause)
Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-
-