|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.qfs.lib.util.MalformedArgumentListException
de.qfs.lib.util.UnexpectedParameterException
This exception is thrown by ArgsParser.parse
when it encouters an option that may not have a
parameter, but one was given on the command line or in the options file.
Constructor Summary | |
UnexpectedParameterException(java.lang.String message,
java.lang.String option,
java.lang.String parameter)
Create a new UnexpectedParameterException. |
Method Summary | |
java.lang.String |
getParameter()
Get the parameter that caused the exception. |
Methods inherited from class de.qfs.lib.util.MalformedArgumentListException |
getOption |
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 UnexpectedParameterException(java.lang.String message, java.lang.String option, java.lang.String parameter)
message
- A message explaining the reason for the exception.option
- The option that caused the exception.parameter
- The parameter that caused the exception.Method Detail |
public java.lang.String getParameter()
|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |