private static String addArguments(Object[] arguments,String message){
  try {
    formatter.applyPattern(message);
    String formatted=formatter.format(arguments);
    return formatted;
  }
 catch (  Throwable t) {
    return message;
  }
}

private static String addArguments ( Object [ ] arguments , String message ) { try { formatter . applyPattern ( message ) ; String formatted = formatter . format ( arguments ) ; return formatted ; } catch ( Throwable t ) { return message ; } }
adds the arguments to the message .
