Here you can find the source of printError(String s)
public static void printError(String s)
//package com.java2s; //License from project: Open Source License public class Main { private static StringBuilder infoLog = new StringBuilder(); public static void printError(String s) { infoLog.append("[STDERR] " + s + '\n'); System.out.printf("[STDERR] %s\n", s); }/* ww w. j a va 2 s .c o m*/ }