|
||||||||||
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
opennlp.tools.cmdline.TerminateToolException
public class TerminateToolException
Exception to terminate the execution of a command line tool.
The exception should be thrown to indicate that the VM should be terminated with
the specified error code, instead of just calling System.exit(int)
.
Note: Do not use this class, internal use only!
Constructor Summary | |
---|---|
TerminateToolException(int code)
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TerminateToolException(int code)
Method Detail |
---|
public int getCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |