@Deprecated public static Object createObject( final String className, final ILogger logger ) { Object object = null; try { Class componentClass = Class.forName( className.trim() ); object = componentClass.newInstance(); } catch ( Throwable t ) { String msg = Messages.getInstance().getErrorString( "PentahoSystem.ERROR_0013_COULD_NOT_CREATE_OBEJCT", className ); //$NON-NLS-1$ if ( null == logger ) { Logger.fatal( PentahoSystem.class.getName(), msg, t ); } else { logger.fatal( msg, t ); } } return object; }