code: public String get(String code, Object... arguments) {
          try {
              return getMessage(code, null, arguments);
          } catch (NoSuchMessageException ex) {
              logger.warn("Tried to retrieve message with code [{}] that does not exist", code);
              return "!" + code;
          }
      }
docs: Tries to resolve the specified message for the current locale.
  
  @param code the code to lookup up, such as 'calculator.noRateSet', never {@code null}.
  @param arguments Array of arguments that will be filled in for params within the message (params look like "{0}",
  "{1,date}", "{2,time}"), or {@code null} if none.
  @return the resolved message, or the message code prepended with an exclamation mark if the lookup fails.
  @see org.springframework.context.ApplicationContext#getMessage(String, Object[], java.util.Locale)
  @see #getLocale()