public class CmdLineException extends Exception
Constructor and Description |
---|
CmdLineException(CmdLineParser parser,
Localizable message,
String... args) |
CmdLineException(CmdLineParser parser,
String message)
|
CmdLineException(CmdLineParser parser,
String message,
Throwable cause) |
CmdLineException(CmdLineParser parser,
Throwable cause) |
CmdLineException(String message)
Deprecated.
|
CmdLineException(String message,
Throwable cause)
Deprecated.
|
CmdLineException(Throwable cause)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage() |
CmdLineParser |
getParser()
Obtains the
CmdLineParser that triggered an exception. |
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CmdLineException(String message)
CmdLineException(CmdLineParser, String)
public CmdLineException(String message, Throwable cause)
CmdLineException(CmdLineParser, String, Throwable)
public CmdLineException(Throwable cause)
CmdLineException(CmdLineParser, Throwable)
public CmdLineException(CmdLineParser parser, Localizable message, String... args)
public CmdLineException(CmdLineParser parser, String message)
public CmdLineException(CmdLineParser parser, String message, Throwable cause)
public CmdLineException(CmdLineParser parser, Throwable cause)
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
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.
Copyright © 2003-2016 Kohsuke Kawaguchi. All Rights Reserved.