@Test
public void forName2() throws Exception {

    Class clazz = ClassUtils.forName("java.lang.String", false);
    Assert.assertEquals(clazz, String.class);
    boolean error = false;
    try {
        ClassUtils.forName("asdasdasdsad", true);
    } catch (Exception e) {
        error = true;
    }
    Assert.assertTrue(error);
}