question: public static String formatMessage ( int errorCode , String message , Object ... arguments ) { for ( int i = 0 ; i < arguments . length ; i ++ ) { Object a = arguments [ i ] ; if ( ! ( a instanceof Exception ) ) { String s = a == null ? "null" : a . toString ( ) ; if ( s . length ( ) > 1000 ) { s = s . substring ( 0 , 1000 ) + "..." ; } arguments [ i ] = s ; } } return MessageFormat . format ( message , arguments ) + " [" + Constants . VERSION_MAJOR + "." + Constants . VERSION_MINOR + "." + Constants . BUILD_ID + "/" + errorCode + "]" ; }
target:  Format an error message.