src/main/java/org/jmxtrans/agent/util/ConfigurationUtils.java
public static String getString(Map<String, String> settings, String name) throws IllegalArgumentException {
        if (!settings.containsKey(name)) {
            throw new IllegalArgumentException("No setting '" + name + "' found");
        }
        return settings.get(name);
    }
public static String getString(Map<String, String> settings, String name) throws IllegalArgumentException {
        if (!settings.containsKey(name)) {
            throw new IllegalArgumentException("No setting '" + name + "' found");
        }
        return settings.get(name);
    }
public static String getString ( Map < String , String > settings , String name ) throws IllegalArgumentException { if ( ! settings . containsKey ( name ) ) { throw new IllegalArgumentException ( "No setting '" + name + "' found" ) ; } return settings . get ( name ) ; }
Convert value of this setting to a Java <b>int</b>.

If the setting is not found, an exception is thrown.

@param name name of the property
@return value of the property
@throws IllegalArgumentException if setting is not found.
Convert value of this setting to a Java <b > int< / b > .