Uses of Class
net.sourceforge.argparse4j.inf.ArgumentParserException
Packages that use ArgumentParserException
Package
Description
-
Uses of ArgumentParserException in net.sourceforge.argparse4j.ext.java7
Methods in net.sourceforge.argparse4j.ext.java7 that throw ArgumentParserExceptionModifier and TypeMethodDescriptionPathArgumentType.convert(ArgumentParser parser, Argument arg, String value) -
Uses of ArgumentParserException in net.sourceforge.argparse4j.helper
Subclasses of ArgumentParserException in net.sourceforge.argparse4j.helperModifier and TypeClassDescriptionclassHelpScreenException is a subclass of ArgumentParserException. -
Uses of ArgumentParserException in net.sourceforge.argparse4j.impl.action
Methods in net.sourceforge.argparse4j.impl.action that throw ArgumentParserException -
Uses of ArgumentParserException in net.sourceforge.argparse4j.impl.type
Methods in net.sourceforge.argparse4j.impl.type that throw ArgumentParserExceptionModifier and TypeMethodDescriptionBooleanArgumentType.convert(ArgumentParser parser, Argument arg, String value) CaseInsensitiveEnumArgumentType.convert(ArgumentParser parser, Argument arg, String value) ConstructorArgumentType.convert(ArgumentParser parser, Argument arg, String value) Deprecated.EnumArgumentType.convert(ArgumentParser parser, Argument arg, String value) Deprecated.EnumStringArgumentType.convert(ArgumentParser parser, Argument arg, String value) FileArgumentType.convert(ArgumentParser parser, Argument arg, String value) ReflectArgumentType.convert(ArgumentParser parser, Argument arg, String value) private TReflectArgumentType.convertUsingConstructor(ArgumentParser parser, Argument arg, String value) private voidReflectArgumentType.throwArgumentParserException(ArgumentParser parser, Argument arg, String value, Throwable t) private voidFileVerification.throwException(ArgumentParser parser, Argument arg, File file, String messageKey) voidFileVerification.verify(ArgumentParser parser, Argument arg, File file) voidFileVerificationStep.verify()private voidFileVerification.verifyCanCreate(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanExecute(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanRead(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanWrite(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyCanWriteParent(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyExists(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsAbsolute(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsDirectory(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyIsFile(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyNotExists(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyPermissions(ArgumentParser parser, Argument arg, File file) private voidFileVerification.verifyPresenceAndType(ArgumentParser parser, Argument arg, File file) private booleanFileVerification.verifyStep(FileVerificationStep step) -
Uses of ArgumentParserException in net.sourceforge.argparse4j.inf
Methods in net.sourceforge.argparse4j.inf with parameters of type ArgumentParserExceptionModifier and TypeMethodDescriptionvoidArgumentParser.handleError(ArgumentParserException e) Prints usage and error message.voidArgumentParser.handleError(ArgumentParserException e, PrintWriter writer) Prints usage and error message to the given writer.Methods in net.sourceforge.argparse4j.inf that throw ArgumentParserExceptionModifier and TypeMethodDescriptionArgumentType.convert(ArgumentParser parser, Argument arg, String value) Convertsvalueto appropriate type.Parses command line arguments.voidParses command line arguments.voidParses command line arguments.voidParses command line arguments.ArgumentParser.parseKnownArgs(String[] args, List<String> unknown) Just likeArgumentParser.parseArgs(String[]), but parses only known arguments without throwing exception for unrecognized arguments.voidArgumentParser.parseKnownArgs(String[] args, List<String> unknown, Object userData) Just likeArgumentParser.parseArgs(String[], Object), but parses only known arguments without throwing exception for unrecognized arguments.voidJust likeArgumentParser.parseArgs(String[], Map), but parses only known arguments without throwing exception for unrecognized arguments.voidArgumentParser.parseKnownArgs(String[] args, List<String> unknown, Map<String, Object> attrs, Object userData) Just likeArgumentParser.parseArgs(String[], Map, Object), but parses only known arguments without throwing exception for unrecognized arguments.voidArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) Deprecated.Does not provide the flexibility to let the parser and/or argument decide how the value is stored.default voidArgumentAction.run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value, Consumer<Object> valueSetter) Executes this action. -
Uses of ArgumentParserException in net.sourceforge.argparse4j.internal
Subclasses of ArgumentParserException in net.sourceforge.argparse4j.internalModifier and TypeClassDescriptionclassException thrown when unrecognized argument is encountered.classException thrown when unrecognized command is encountered.Fields in net.sourceforge.argparse4j.internal declared as ArgumentParserExceptionModifier and TypeFieldDescription(package private) ArgumentParserExceptionParseState.deferredExceptionDeferred exception encountered while parsing.Methods in net.sourceforge.argparse4j.internal with parameters of type ArgumentParserExceptionModifier and TypeMethodDescriptionvoidArgumentParserImpl.handleError(ArgumentParserException e) voidArgumentParserImpl.handleError(ArgumentParserException e, PrintWriter writer) voidSubparserImpl.handleError(ArgumentParserException e) voidSubparserImpl.handleError(ArgumentParserException e, PrintWriter writer) Methods in net.sourceforge.argparse4j.internal that throw ArgumentParserExceptionModifier and TypeMethodDescriptionprivate voidArgumentParserImpl.accumulatePositionalArg(ParseState state, ArgumentImpl arg) This function accumulates arguments for a given positional argument.private voidArgumentParserImpl.checkMutex(ArgumentImpl arg, ArgumentImpl[] groupUsed) Check that another option in mutually exclusive group has already been specified.ArgumentImpl.convert(ArgumentParserImpl parser, String value) private voidArgumentParserImpl.extendArgs(ParseState state, String file) Extends arguments by reading additional arguments from file.private booleanArgumentParserImpl.flagFound(ParseState state) Returns true if state.getArg() is flag.(package private) voidSubparsersImpl.parseArg(ParseState state, Map<String, Object> opts) voidvoidvoid(package private) voidArgumentParserImpl.parseArgs(ParseState state, Map<String, Object> attrs) voidvoidvoid(package private) voidSubparserImpl.parseArgs(ParseState state, Map<String, Object> opts) private voidArgumentParserImpl.parseArgsAtOffsetZero(String[] args, List<String> unknown, Map<String, Object> attrs) ArgumentParserImpl.parseKnownArgs(String[] args, List<String> unknown) voidArgumentParserImpl.parseKnownArgs(String[] args, List<String> unknown, Object userData) voidvoidArgumentParserImpl.parseKnownArgs(String[] args, List<String> unknown, Map<String, Object> attrs, Object userData) SubparserImpl.parseKnownArgs(String[] args, List<String> unknown) voidSubparserImpl.parseKnownArgs(String[] args, List<String> unknown, Object userData) voidvoidSubparserImpl.parseKnownArgs(String[] args, List<String> unknown, Map<String, Object> attrs, Object userData) private voidArgumentParserImpl.parseKnownArgsCreatingUnknownIfNeeded(String[] args, List<String> unknown, Map<String, Object> attrs) private voidArgumentParserImpl.processArg(Map<String, Object> res, ParseState state, ArgumentImpl arg, String flag, String embeddedValue) This function only handles a named argument.private voidArgumentParserImpl.processPositionalArgs(Map<String, Object> res, ParseState state) This function processes named arguments accumulated in state.private ArgumentImplArgumentParserImpl.resolveNextFlag(String flag) Returns named argument ArgumentImpl which matches given flag.private SubparserImplSubparsersImpl.resolveNextSubparser(String command) Get next SubparserImpl from given command and state.voidArgumentImpl.run(ArgumentParserImpl parser, Map<String, Object> res, String flag, Object value, Consumer<Object> valueSetter)