Package com.github.mizool.core.exception
Class RuleViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.mizool.core.exception.RuleViolationException
-
- All Implemented Interfaces:
Serializable
public class RuleViolationException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleViolationException(String message, @NonNull Set<RuleViolation> ruleViolations)
RuleViolationException(Set<RuleViolation> ruleViolations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<RuleViolation>
getRuleViolations()
-
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, @NonNull @NonNull Set<RuleViolation> ruleViolations)
-
RuleViolationException
public RuleViolationException(Set<RuleViolation> ruleViolations)
-
-
Method Detail
-
getRuleViolations
public Set<RuleViolation> getRuleViolations()
-
-