public class UtilSystem extends Object
Modifier and Type | Method and Description |
---|---|
static void |
exceptionOnExit()
Request the throwing of an exception instead of a real exit.
|
static void |
exit(int code)
Exit the jvm.
|
static void |
exitOnFatalException(Exception e) |
static void |
exitOnFatalException(Exception e,
int rc) |
public static void exceptionOnExit()
public static void exit(int code)
code
- the exit codepublic static void exitOnFatalException(Exception e)
public static void exitOnFatalException(Exception e, int rc)
Copyright © 2014–2022. All rights reserved.