public Class < ? > getType ( String name , String logFramework ) throws Exception { final Class < ? > loggerType ; try { loggerType = Class . forName ( name ) ; } catch ( ClassNotFoundException e ) { final String message = String . format ( "Cannot find %s in the classpath which the %s policy requires." , logFramework , getClass ( ) . getSimpleName ( ) ) ; throw new RuntimeException ( message , e ) ; } return loggerType ; }
Get the class type representing the fully - qualified name .