code: public Class createClass(String className) throws ClassNotFoundException {
          Class clazz;
          try {
              clazz = Class.forName(className);
              return clazz;
  
          } catch (ExceptionInInitializerError eiie) {
              String info = "Could not load the " + description + " object: " + className
                      + ". Could not initialize static object in server: ";
              info += eiie.getMessage();
              throw new ClassNotFoundException(info, eiie);
  
          } catch (LinkageError le) {
              String info = "Could not load the " + description + " object: " + className
                      + ". This object is depending on a class that has been changed after compilation ";
              info += "or a class that was not found: ";
              info += le.getMessage();
              throw new ClassNotFoundException(info, le);
  
          } catch (ClassNotFoundException cnfe) {
              String info = "Could not find the " + description + " object: " + className + ": ";
              info += cnfe.getMessage();
              throw new ClassNotFoundException(info, cnfe);
          }
      }
docs: Dynamically loads the named class (fully qualified classname).