|
||||||||||
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 | +--org.edg.data.util.DataException | +--org.edg.data.util.CommandLineException
Exception thrown if there was an error on the command line.
Constructor Summary | |
CommandLineException(java.lang.String text,
Command cmd)
Constructs a CommandLineException . |
Method Summary | |
boolean |
hasCommand()
check whether command was set |
void |
printHelp()
Print help on command on screen |
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 CommandLineException(java.lang.String text, Command cmd)
CommandLineException
.
text
- The error messagecmd
- The command that was issuedMethod Detail |
public void printHelp()
public boolean hasCommand()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |