Here you can find the source of loadClass(String className)
private static Class<?> loadClass(String className)
//package com.java2s; //License from project: Open Source License public class Main { private static Class<?> loadClass(String className) { try {/* ww w . j a va 2s. c o m*/ return Class.forName(className); } catch (ClassNotFoundException e) { throw new RuntimeException("Unexpected ClassNotFoundException loading class '" + className + "'"); } catch (NoClassDefFoundError e) { return null; } } }