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, getText
shouldIncludeUsage
getLocalizedMessage, getMessage
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WithUsage(ArgumentParseException wrapped, Text usage)
public Text getUsage()