|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.brains2b.console.ArgumentException
Exception for handling undefined arguments in the Main console class and accompanying ArgumentMap
| Field Summary | |
static java.lang.String |
MISSING_ARGUMENT
Constant for error message A required argument is missing |
static java.lang.String |
NOT_RECOGNIZED
Constant for error message Not recognized as an argument |
| Constructor Summary | |
ArgumentException(java.lang.String message)
Constructor for ArgumentException. |
|
ArgumentException(java.lang.String arg,
java.lang.String message)
Constructor for ArgumentException. |
|
| Method Summary | |
java.lang.String |
getArgument()
Gets the Argument for which the Exception was thrown |
| 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 |
| Field Detail |
public static final java.lang.String NOT_RECOGNIZED
public static final java.lang.String MISSING_ARGUMENT
| Constructor Detail |
public ArgumentException(java.lang.String message)
message - String, the message for this Exception
public ArgumentException(java.lang.String arg,
java.lang.String message)
arg - String, the argument for which the Exception was thrownmessage - String, The exception message| Method Detail |
public java.lang.String getArgument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||