public static Class needClass(String property) throws NoSuchPropertyException {
  String value=needProperty(property);
  Class c=null;
  try {
    c=Class.forName(value);
  }
 catch (  ClassNotFoundException e) {
    throw new NoSuchPropertyException("Cannot find class `" + value + "'. Check property `"+ property+ "' in configuration files");
  }
  return c;
}

public static Class needClass ( String property ) throws NoSuchPropertyException { String value = needProperty ( property ) ; Class c = null ; try { c = Class . forName ( value ) ; } catch ( ClassNotFoundException e ) { throw new NoSuchPropertyException ( "Cannot find class `" + value + "'. Check property `" + property + "' in configuration files" ) ; } return c ; }
get a class property from the underlying properties , throwing an exception if it is not defined .
