Arrays.fill(paramTypes, String.class);
try {
return clazz.getConstructor(paramTypes);
} catch (SecurityException e) {
throw new WsConfigurationException("Error getting constructor for " + m_typeDesc + " class '"
+ clazz + "' with arguments " + Utility.toString(args) + ".", e);
} catch (NoSuchMethodException e) {
throw new WsConfigurationException("Unable to find constructor for " + m_typeDesc + " class '"
+ clazz + "' with arguments " + Utility.toString(args) + ".", e);
}
}