public abstract class CommandLineOptionException extends Exception
CommandLineOptionException.RequiredOptionMissing
,
CommandLineOptionException.ArgumentConversionFailed
,
CommandLineOptionException.ConflictingOptions
,
CommandLineOptionException.DuplicateOption
,
CommandLineOptionException.OptionArgumentMissing
,
CommandLineOptionException.RequiredOptionGroupMissing
,
CommandLineOptionException.UnrecognizedOption
,
CommandLineOptions.parse(String[], Object)
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
CommandLineOptionException.ArgumentConversionFailed
A command line option argument could not be converted to the required type.
|
static class |
CommandLineOptionException.ConflictingOptions
A command line option group has cardinality
EXACTLY_ONE , and there are
more than one options of the group on the command line. |
static class |
CommandLineOptionException.DuplicateOption
|
static class |
CommandLineOptionException.OptionArgumentMissing
A command line option requires one or more arguments, but the command line arguments are exhausted before all
required option arguments were parsed.
|
static class |
CommandLineOptionException.RequiredOptionGroupMissing
A command line option group has cardinality
EXACTLY_ONE or ONE_OR_MORE , but is missing on
the command line. |
static class |
CommandLineOptionException.RequiredOptionMissing
A command line option has cardinality
MANDATORY or ONCE_OR_MORE , but is missing on
the command line. |
static class |
CommandLineOptionException.UnrecognizedOption
A command line argument was encountered that appears to be an option (because it starts with "-"), but its name
is not recognized.
|
Constructor and Description |
---|
CommandLineOptionException(String message) |
CommandLineOptionException(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2018 Arno Unkrig. All rights reserved.