try {
Class clazz = ClassUtils.getClass(className);
clazz.getConstructor(new Class [] {Integer.TYPE});
instance = ClassUtils.getClass(className).newInstance();
} catch (ClassNotFoundException e) {
throw new JMeterException(e);
} catch (InstantiationException e) {
throw new JMeterException(e);
} catch (IllegalAccessException e) {
throw new JMeterException(e);
} catch (SecurityException e) {
throw new JMeterException(e);
} catch (NoSuchMethodException e) {
throw new JMeterException(e);
}
return instance;
}