public class ExitStatusImpl extends Object implements ExitStatus
ExitStatus}
EXIT_ERROR, EXIT_SUCCESS
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.
|
public void setExitStatus(int newExitStatus) throws IllegalArgumentException
ExitStatus
setExitStatus
in interface ExitStatus
IllegalArgumentException
- If newExitStatus < 0 or newExitStatus > 255public int getExitStatus()
ExitStatus
getExitStatus
in interface ExitStatus
Copyright © 2013. All Rights Reserved.