org.rx.util.ValidateException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxlib Show documentation
Show all versions of rxlib Show documentation
A set of utilities for Java
package org.rx.util;
import lombok.Getter;
import org.rx.exception.ExceptionLevel;
import org.rx.exception.InvalidException;
@Getter
public class ValidateException extends InvalidException {
final String propertyPath;
final String violationMessage;
public ValidateException(String propertyName, String violationMessage, String message) {
super(ExceptionLevel.USER_OPERATION, message);
this.propertyPath = propertyName;
this.violationMessage = violationMessage;
}
}