code: private void tryRegister(String className, String fromStringMethodName) throws ClassNotFoundException {
          Class<?> cls = loadType(className);
          registerMethods(cls, "toString", fromStringMethodName);
      }
docs: Tries to register a class using the standard toString/parse pattern.
  
  @param className  the class name, not null
  @throws ClassNotFoundException if the class does not exist