class VersionUtil {

    public static void isQualifierValidOrFail(String qualifier) {
        if (!isQualifierValid(qualifier)) {
            throw new InvalidVersionException("This qualifier [" + qualifier + "] is not valid as it does not match [" + QUALIFIER_PATTERN + "]");
        }
    }

    private  VersionUtil();

}