} else
throw new NullPointerException (
"The parameter named '" + parameterName + "' is null.");
if (!matches)
throw new InvalidFormatException (
"The parameter named '" + parameterName + "' " +
"contains the text '" + parameterValue + "', which does not " +
"conform to the expected format.");
}