Errors in converting option string values into objects or validating objects created from option string values are typical option value processing failures.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static class | |
| public static enum |
| Modifier and Type | Method and Description |
|---|---|
| public static <T extends Exception> OptionValueExceptionFactory. | |
| public static <T extends Exception> OptionValueExceptionFactory. | |
| public T | Returns: exception objectthe name of the option optionName, StringToken the value of the option optionValue, String the format string for formatting the exception message formatString, Optional<Exception> the cause if any, an empty {@ @link Optional} instance
otherwise cause)Create an exception object for the specified option name, value and optional cause. |
| private static <T extends Exception> OptionValueExceptionFactory | create(BiFunction<String, Throwable, T> ctor, OptionValueExceptionFactory.
|
| public static <T extends Exception> OptionValueExceptionFactory |
| build | back to summary |
|---|---|
| public static <T extends Exception> OptionValueExceptionFactory. | |
| build | back to summary |
|---|---|
| public static <T extends Exception> OptionValueExceptionFactory. | |
| create | back to summary |
|---|---|
| public T create(OptionName optionName, StringToken optionValue, String formatString, Optional<Exception> cause) Create an exception object for the specified option name, value and optional cause.
| |
| create | back to summary |
|---|---|
| private static <T extends Exception> OptionValueExceptionFactory | |
| unreachable | back to summary |
|---|---|
| public static <T extends Exception> OptionValueExceptionFactory | |
| Modifier and Type | Method and Description |
|---|---|
| public static OptionValueExceptionFactory. | |
| public String[] |
| appendArguments | back to summary |
|---|---|
| public static OptionValueExceptionFactory. | |
| apply | back to summary |
|---|---|
| public String[] apply(String formattedOptionName, StringToken optionValue) | |
| Modifier and Type | Field and Description |
|---|---|
| private BiFunction | |
| private OptionValueExceptionFactory. | |
| private BiFunction | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv OptionValueExceptionFactory | |
| pack-priv OptionValueExceptionFactory. | |
| pack-priv OptionValueExceptionFactory. | |
| pack-priv OptionValueExceptionFactory. | |
| pack-priv OptionValueExceptionFactory. |
| ctor | back to summary |
|---|---|
| private BiFunction<String, Throwable, T> ctor | |
| formatArgumentsTransformer | back to summary |
|---|---|
| private OptionValueExceptionFactory. | |
| messageFormatter | back to summary |
|---|---|
| private BiFunction<String, Object[], String> messageFormatter | |
| printOptionPrefix | back to summary |
|---|---|
| private boolean printOptionPrefix | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| create | back to summary |
|---|---|
| pack-priv OptionValueExceptionFactory | |
| ctor | back to summary |
|---|---|
| pack-priv OptionValueExceptionFactory. | |
| formatArgumentsTransformer | back to summary |
|---|---|
| pack-priv OptionValueExceptionFactory. | |
| messageFormatter | back to summary |
|---|---|
| pack-priv OptionValueExceptionFactory. | |
| printOptionPrefix | back to summary |
|---|---|
| pack-priv OptionValueExceptionFactory. | |
| Modifier and Type | Field and Description |
|---|---|
| private final OptionValueExceptionFactory. | |
| public static final OptionValueExceptionFactory. | |
| public static final OptionValueExceptionFactory. | |
| public static final OptionValueExceptionFactory. | |
| public static final OptionValueExceptionFactory. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | apply(String formattedOptionName, StringToken optionValue)
Implements jdk.
|
| public static OptionValueExceptionFactory. | |
| public static OptionValueExceptionFactory. |
| impl | back to summary |
|---|---|
| private final OptionValueExceptionFactory. | |
| NAME_AND_VALUE | back to summary |
|---|---|
| public static final OptionValueExceptionFactory. | |
| NONE | back to summary |
|---|---|
| public static final OptionValueExceptionFactory. | |
| VALUE | back to summary |
|---|---|
| public static final OptionValueExceptionFactory. | |
| VALUE_AND_NAME | back to summary |
|---|---|
| public static final OptionValueExceptionFactory. | |
| StandardArgumentsMapper | back to summary |
|---|---|
| private StandardArgumentsMapper(OptionValueExceptionFactory. | |
| apply | back to summary |
|---|---|
| public String[] apply(String formattedOptionName, StringToken optionValue) Implements jdk.
| |
| valueOf | back to summary |
|---|---|
| public static OptionValueExceptionFactory. | |
| values | back to summary |
|---|---|
| public static OptionValueExceptionFactory. | |