public static boolean verifyClass ( String className ) { try { Class < ? > cl = Class . forName ( className ) ; cl . newInstance ( ) ; return true ; } catch ( Exception ex ) { logger . severeException ( "ApplicationContext: verifyClass(): General Exception occurred: " + ex . getMessage ( ) , ex ) ; return false ; } }
Verifies a class