|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
bcds.tools.ExitException
public class ExitException
A RuntimeException used to signal "quick exit". In a sense, this is just a control transfer mechanism, not really an "exception".
Constructor Summary | |
---|---|
ExitException()
Default constructor. |
|
ExitException(int code)
Creates a new instance with the given exit code and null message. |
|
ExitException(int code,
java.lang.String msg)
Creates a new instance with the given exit code and message. |
|
ExitException(java.lang.String msg)
Creates a new instance with exit code 0 and the given message. |
Method Summary | |
---|---|
int |
getCode()
Regurns the exit code. |
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()
public ExitException(java.lang.String msg)
public ExitException(int code)
public ExitException(int code, java.lang.String msg)
Method Detail |
---|
public int getCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |