pl.pojo.tester.internal.preconditions.BlankParameterException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pojo-tester Show documentation
Show all versions of pojo-tester Show documentation
Java pojo-methods testing library.
The newest version!
package pl.pojo.tester.internal.preconditions;
public class BlankParameterException extends RuntimeException {
public BlankParameterException(final String parameterName, final String parameterValue) {
super(createMessage(parameterName, parameterValue));
}
private static String createMessage(final String parameterName, final String parameterValue) {
return String.format("Parameter '%s' is blank. It's value is '%s'", parameterName, parameterValue);
}
}