|
||||||||||
| 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
arq.cmd.CmdException
arq.cmd.TerminationException
public class TerminationException
Exception used to indicate that the command should end now. Use instead of System.exit so that a wrapper can catch (else a command server wil exit wrongly).
| Field Summary | |
|---|---|
int |
returnCode
|
| Constructor Summary | |
|---|---|
TerminationException(int rc)
|
|
| Method Summary | |
|---|---|
int |
getCode()
|
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int returnCode
| Constructor Detail |
|---|
public TerminationException(int rc)
| Method Detail |
|---|
public int getCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||