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

io.polyapi.plugin.error.validation.InvalidPropertyException Maven / Gradle / Ivy

There is a newer version: 0.15.3
Show newest version
package io.polyapi.plugin.error.validation;

import java.lang.reflect.Method;

import static java.lang.String.format;

public class InvalidPropertyException extends ValidationException {
    public InvalidPropertyException(String propertyName, String propertyValue, Method method, String pattern) {
        super(propertyName, format("Property '%s' with value '%s' of method '%s' doesn't match pattern '%s'.", "%s", propertyValue, method, pattern));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy