|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.SecurityException org.apache.tools.ant.ExitException
public class ExitException
Used to report exit status of classes which call System.exit().
NoExitSecurityManager
,
Permissions
,
Serialized FormConstructor Summary | |
---|---|
ExitException(int status)
Constructs an exit exception. |
|
ExitException(java.lang.String msg,
int status)
Constructs an exit exception. |
Method Summary | |
---|---|
int |
getStatus()
The status code returned by System.exit() |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExitException(int status)
status
- the status code returned via System.exit()public ExitException(java.lang.String msg, int status)
msg
- the message to be displayed.status
- the status code returned via System.exit()Method Detail |
---|
public int getStatus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |