| Constructor and Description |
|---|
MainLoader() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class<? extends Main> |
init()
Perform global initialization steps and load the
Main interface. |
static void |
main(java.lang.String[] args)
Perform low level initialization and then forward control to the actual
application.
|
static void |
printUncaughtException(java.io.PrintStream ps,
java.lang.Throwable cause)
Print uncaught exception to a specific
PrintStream. |
static void |
printUncaughtException(java.lang.Throwable cause)
Print an uncaught exception to
System.err. |
public static void main(java.lang.String[] args)
args - The application's command line.public static java.lang.Class<? extends Main> init()
Main interface.public static void printUncaughtException(java.lang.Throwable cause)
System.err.cause - The uncaught exception to print.printUncaughtException(PrintStream, Throwable)public static void printUncaughtException(java.io.PrintStream ps,
java.lang.Throwable cause)
PrintStream.
This function prints the actual stack trace of the causing exception as well as the current program state including running threads, runtime information and system properties.
ps - The PrintStream to print to.cause - The uncaught exception to print.