public final class UsageException extends Exception
Processor.configure(String[])
when this method cannot parse its args string array.Modifier and Type | Field and Description |
---|---|
String |
error
The error message.
|
URL |
errorURL
The URL of the options file (see -f option) having an error.
|
String |
optionsDoc
A short help text about the options supported by the process
method.
|
Constructor and Description |
---|
UsageException(String optionsDoc,
String error,
URL errorURL)
Constructs an UsageException.
|
Modifier and Type | Method and Description |
---|---|
static String |
joinMessage(String optionsDoc,
String error,
URL errorURL)
Joins specified information to form a complete error message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final String optionsDoc
public final String error
null
if the error
is a plain syntax error (for example, a missing input file).public final URL errorURL
null
if the error was not found in an options file.