code: private String format(final String pattern, final Object argument) {
  		try {
  			return getFormatter(pattern, argument).format(argument);
  		} catch (IllegalArgumentException ex) {
  			InternalLogger.log(Level.WARN, "Illegal argument '" + String.valueOf(argument) + "' for pattern '" + pattern + "'");
  			return String.valueOf(argument);
  		}
  	}
docs: Formats a pattern of a placeholder.
  
  @param pattern
  Pattern of placeholder
  @param argument
  Replacement for placeholder
  @return Formatted pattern