Java Error Print printError(String s)

Here you can find the source of printError(String s)

Description

print Error

License

Open Source License

Declaration

public static void printError(String s) 

Method Source Code

//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*/
}

Related

  1. printError(String message)
  2. printError(String message, Exception e, boolean pst)
  3. printError(String msg)
  4. printError(String msg, Exception exception, boolean quit)
  5. printError(String s)
  6. printErrorAndExit(String message)
  7. printErrorFooter(String content)
  8. printErrorInfo(Object e)
  9. printErrorLine()