public static class ArgumentParseException.WithUsage extends ArgumentParseException
ArgumentParseException where the usage is already specified.ArgumentParseException.WithUsage| Constructor and Description |
|---|
WithUsage(ArgumentParseException wrapped,
Text usage) |
| Modifier and Type | Method and Description |
|---|---|
Text |
getUsage()
Gets the usage associated with this exception.
|
getAnnotatedPosition, getPosition, getSourceString, getTextshouldIncludeUsagegetLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WithUsage(ArgumentParseException wrapped, Text usage)
public Text getUsage()