Java Error Print printErrorAndExit(String message)

Here you can find the source of printErrorAndExit(String message)

Description

print Error And Exit

License

Open Source License

Declaration

public static void printErrorAndExit(String message) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void printErrorAndExit(String message) {
        printError(message);//from  ww  w.ja  v a2 s  . c  o  m
        System.exit(1);
    }

    public static void printError(String message) {
        System.err.println(message);
    }
}

Related

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