|
|||||||||
| 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.apache.commons.cli.ParseException
org.apache.commons.cli.UnrecognizedOptionException
public class UnrecognizedOptionException
Exception thrown during parsing signalling an unrecognized option was seen.
| Constructor Summary | |
|---|---|
UnrecognizedOptionException(java.lang.String message)
Construct a new UnrecognizedArgumentException
with the specified detail message. |
|
UnrecognizedOptionException(java.lang.String message,
java.lang.String option)
Construct a new UnrecognizedArgumentException
with the specified option and detail message. |
|
| Method Summary | |
|---|---|
java.lang.String |
getOption()
Returns the unrecognized option. |
| 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 UnrecognizedOptionException(java.lang.String message)
UnrecognizedArgumentException
with the specified detail message.
message - the detail message
public UnrecognizedOptionException(java.lang.String message,
java.lang.String option)
UnrecognizedArgumentException
with the specified option and detail message.
message - the detail messageoption - the unrecognized option| Method Detail |
|---|
public java.lang.String getOption()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||