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 ) ; } }
Formats a pattern of a placeholder .