code: private static String getStringSafely(String key) {
  		String resource = null;
  		for (ResourceBundle bundle: bundles) {
  			try {
  				resource = bundle.getString(key);
  			} catch (MissingResourceException mrex) {
  				continue;
  			}
  			return resource;
  		}
  		return NO_MESSAGE + key;
  	}
docs: Returns the message from one of the message bundles.