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

pl.pojo.tester.internal.preconditions.BlankParameterException Maven / Gradle / Ivy

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy