@Service public interface ExitStatus
setExitStatus(int) wins.| Modifier and Type | Field and Description |
|---|---|
static int |
EXIT_ERROR
JVM exit status indicating a generic error.
|
static int |
EXIT_SUCCESS
JVM exit status indicating successful termination.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExitStatus()
Get the currently set exit status.
|
void |
setExitStatus(int newExitStatus)
Sets the exit status, which will be used as status when the JVM
terminates.
|
static final int EXIT_SUCCESS
static final int EXIT_ERROR
void setExitStatus(int newExitStatus)
throws IllegalArgumentException
newExitStatus - IllegalArgumentException - If newExitStatus < 0 or newExitStatus > 255int getExitStatus()
Copyright © 2013. All Rights Reserved.