code: public static Object createInstance(final String className, final ClassLoader classLoader) {
          checkNotNull("className", className);
          checkNotNull("classLoader", classLoader);
          try {
              final Class<?> clasz = Class.forName(className, true, classLoader);
              return clasz.newInstance();
          } catch (final ClassNotFoundException e) {
              throw new RuntimeException("Unknown class!", e);
          } catch (final InstantiationException e) {
              throw new RuntimeException("Error instanciating class!", e);
          } catch (final IllegalAccessException e) {
              throw new RuntimeException("Error accessing class!", e);
          }
      }
docs: Create an instance with Class.forName(..) and wrap all exceptions into RuntimeExceptions.
  
  @param className
  Full qualified class name - Cannot be <code>null</code>.
  @param classLoader
  Dedicated class loader to use - Cannot be <code>NULL</code>.
  
  @return New instance of the class.