code: public static Object loadInstance(Class clazz, Object defaultValue) {
  	try {
  	    return clazz.newInstance();
  	}
  	catch (Throwable t) {
  	    ExceptionUtil.rethrowIfNecessary(t);
  	    return defaultValue;
  	}
      }
docs: loads a class from a String classname
  
  @param clazz class to load
  @return matching Class