return loader.loadClass(className); } catch (ClassNotFoundException ex) { } catch (SecurityException ex) {
return Class.forName(className); } catch  (ClassNotFoundException ex) { } catch  (SecurityException ex) {
    public static Class classOrNull(ClassLoader loader, String className)    {        try {            return loader.loadClass(className);        } catch (ClassNotFoundException ex) {        } catch (SecurityException ex) {        } catch  (LinkageError ex) {        } catch (IllegalArgumentException e) {            // Can be thrown if name has characters that a class name            // can not contain        }        return null;    }