Android examples for java.lang.reflect:Class
load Class without Throwing exception
//package com.java2s; public class Main { public static Class<?> loadClassNoThrow(ClassLoader loader, String name) { try {/*w ww.j a v a 2s . c o m*/ return loader.loadClass(name); } catch (ClassNotFoundException e) { e.printStackTrace(); return null; } } }