All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rx.util.ValidateException Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy