public interface IValueValidator<T>
| Modifier and Type | Method and Description |
|---|---|
void |
validate(java.lang.String name,
T value)
Validate the parameter.
|
void validate(java.lang.String name,
T value)
throws ParameterException
name - The name of the parameter (e.g. "-host").value - The value of the parameter that we need to validateParameterException - Thrown if the value of the parameter is invalid.