@Override public void test(Number t) throws ParameterException {
  if (t.doubleValue() >= constraintValue.doubleValue()) {
    throw new WrongParameterValueException("Parameter Constraint Error: \n" + "The parameter value specified has to be less than " + constraintValue.toString() + ". (current value: "+ t.doubleValue()+ ")\n");
  }
}

@ Override public void test ( Number t ) throws ParameterException { if ( t . doubleValue ( ) >= constraintValue . doubleValue ( ) ) { throw new WrongParameterValueException ( "Parameter Constraint Error: \n" + "The parameter value specified has to be less than " + constraintValue . toString ( ) + ". (current value: " + t . doubleValue ( ) + ")\n" ) ; } }
checks if the number value given by the number parameter is less than the constraint value . if not , a parameter exception is thrown .
