Here you can find the source of printErrInvocationString(String cls, String[] args)
public static void printErrInvocationString(String cls, String[] args)
//package com.java2s; import java.util.*; public class Main { public static void printErrInvocationString(String cls, String[] args) { System.err.println(toInvocationString(cls, args)); }// w w w . j a v a 2s . c o m public static String toInvocationString(String cls, String[] args) { StringBuilder sb = new StringBuilder(); sb.append(cls).append(" invoked on ").append(new Date()); sb.append(" with arguments:\n "); for (String arg : args) { sb.append(' ').append(arg); } return sb.toString(); } }