private static int getIntProperty(String key, int maxValue) {
		String value;
		try {
			value = configBundle.getString(key);
		} catch (Exception e) {
			return maxValue;
		}
		
		int configValue = maxValue;
		try {
			configValue = Integer.parseInt(value);
			if(configValue < maxValue && configValue > 0) {
				return configValue;
			}
		} catch (NumberFormatException e) {
			return maxValue;
		}
		
		return configValue;
	}