in src/main/java/com/amazonaws/secretsmanager/util/Config.java [209:221]
public int getIntPropertyWithDefault(String propertyName, int defaultValue) {
String propertyValue = config.getProperty(propertyName);
if (propertyValue == null) {
return defaultValue;
} else {
try {
return Integer.parseInt(propertyValue);
} catch (NumberFormatException e) {
throw new PropertyException(fullPropertyName(propertyName) + " must be of type int. Please check "
+ Config.CONFIG_FILE_NAME + " or your system properties for typos.", e);
}
}
}