Java Error Print printErrorMessage(final String prg_name, final String message)

Here you can find the source of printErrorMessage(final String prg_name, final String message)

Description

print Error Message

License

Open Source License

Declaration

final public static void printErrorMessage(final String prg_name,
            final String message) 

Method Source Code

//package com.java2s;
// License as published by the Free Software Foundation; either

public class Main {
    final public static void printErrorMessage(final String prg_name,
            final String message) {
        System.out.println("[" + prg_name + "] > error: " + message);
    }/*from   w ww  .j  av  a 2s .  co  m*/
}

Related

  1. printErrorAndExit(String message)
  2. printErrorFooter(String content)
  3. printErrorInfo(Object e)
  4. printErrorLine()
  5. printErrorln(String string)
  6. printErrorMessage(String errorMessage)
  7. printErrorMsgTraceAsCause(Throwable throwable, StackTraceElement[] causedTrace)