com.github.egatlovs.variablemanager.exceptions.ViolationException Maven / Gradle / Ivy
package com.github.egatlovs.variablemanager.exceptions;
import com.github.egatlovs.variablemanager.validation.ConstraintViolationMessage;
/**
* ViolationException
*
* This is a RuntimeException which will be thrown if the validation of an
* ExecutionEntity fails. The message contains each validation failure.
*
* @author egatlovs
*/
public class ViolationException extends RuntimeException {
private static final long serialVersionUID = 1L;
public ViolationException(ConstraintViolationMessage violation) {
super(violation.getMessage());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy