public enum ValidationFailureType extends Enum<ValidationFailureType>
Enum Constant and Description |
---|
HelpRequested |
InvalidValueForType |
MisplacedOption |
MissingOption |
MissingValue |
PatternMismatch |
TooFewValues |
TooManyValues |
UnableToConstructType |
UnexpectedAdditionalValue |
UnexpectedOption |
UnexpectedTrailingValue |
UnexpectedValue |
Modifier and Type | Method and Description |
---|---|
static ValidationFailureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationFailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationFailureType InvalidValueForType
public static final ValidationFailureType MisplacedOption
public static final ValidationFailureType MissingOption
public static final ValidationFailureType MissingValue
public static final ValidationFailureType PatternMismatch
public static final ValidationFailureType UnableToConstructType
public static final ValidationFailureType UnexpectedAdditionalValue
public static final ValidationFailureType UnexpectedOption
public static final ValidationFailureType UnexpectedTrailingValue
public static final ValidationFailureType UnexpectedValue
public static final ValidationFailureType TooFewValues
public static final ValidationFailureType TooManyValues
public static final ValidationFailureType HelpRequested
public static ValidationFailureType[] values()
for (ValidationFailureType c : ValidationFailureType.values()) System.out.println(c);
public static ValidationFailureType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2006-2013 lexicalscope. All Rights Reserved.