checkValue
Throws an exception if the parameter cannot accept the given value. Not throwing does not guarantee acceptance (although it typically will be accepted).
Throws an exception if the parameter cannot accept the given value. Not throwing does not guarantee acceptance (although it typically will be accepted).