|
||||||||||
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.kohsuke.args4j.CmdLineException
public class CmdLineException
Signals an error in the user input.
Constructor Summary | |
---|---|
CmdLineException(CmdLineParser parser,
java.lang.String message)
|
|
CmdLineException(CmdLineParser parser,
java.lang.String message,
java.lang.Throwable cause)
|
|
CmdLineException(CmdLineParser parser,
java.lang.Throwable cause)
|
|
CmdLineException(java.lang.String message)
Deprecated. Use CmdLineException(CmdLineParser, String) |
|
CmdLineException(java.lang.String message,
java.lang.Throwable cause)
Deprecated. Use CmdLineException(CmdLineParser, String, Throwable) |
|
CmdLineException(java.lang.Throwable cause)
Deprecated. Use CmdLineException(CmdLineParser, Throwable) |
Method Summary | |
---|---|
CmdLineParser |
getParser()
Obtains the CmdLineParser that triggered an exception. |
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 CmdLineException(java.lang.String message)
CmdLineException(CmdLineParser, String)
public CmdLineException(java.lang.String message, java.lang.Throwable cause)
CmdLineException(CmdLineParser, String, Throwable)
public CmdLineException(java.lang.Throwable cause)
CmdLineException(CmdLineParser, Throwable)
public CmdLineException(CmdLineParser parser, java.lang.String message)
public CmdLineException(CmdLineParser parser, java.lang.String message, java.lang.Throwable cause)
public CmdLineException(CmdLineParser parser, java.lang.Throwable cause)
Method Detail |
---|
public CmdLineParser getParser()
CmdLineParser
that triggered an exception.
Unless you have legacy OptionHandler
that doesn't pass in this information
when it throws an exception, this method should always return a non-null value. a
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |