System.err.println("HTC GenericPlugin: Error creating instance of " + classname);
System.err.println("GenericPlugin: Error creating instance of " + classname);
  private Object classForString(String classname) {    Class cls = null;    Object retval = null;    try {      cls = Class.forName(classname);    } catch (Exception e) {      System.err.println("HTC GenericPlugin: Class " + classname + " not found.");      return null;    }    if (cls != null) {      try {        retval = cls.newInstance();      } catch (Exception e) {        System.err.println("HTC GenericPlugin: Error creating instance of " + classname);        return null;      }    }    return retval;  }