io.polyapi.plugin.error.validation.InvalidPropertyException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polyapi-maven-plugin Show documentation
Show all versions of polyapi-maven-plugin Show documentation
Maven plugin to run handle Poly API functions.
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));
}
}