catch (RuntimeException e)
{
message = invalidNumberMessage;
throw new ValidationException(invalidNumberMessage);
}
if ( minValue != null && nk.compareTo(minValue) < 0 )
{
message = minValueMessage;
throw new ValidationException(minValueMessage);
}
if ( maxValue != null && nk.compareTo(maxValue) > 0 )