static enum FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator extends java.lang.Enum<FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator> implements FuturesGetChecked.GetCheckedTypeValidator
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
private static java.lang.ClassValue<java.lang.Boolean> |
isValidClass |
Modifier and Type | Method and Description |
---|---|
void |
validateClass(java.lang.Class<? extends java.lang.Exception> exceptionClass) |
static FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator INSTANCE
public static FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator[] values()
for (FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator c : FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator.values()) System.out.println(c);
public static FuturesGetChecked.GetCheckedTypeValidatorHolder.ClassValueValidator valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void validateClass(java.lang.Class<? extends java.lang.Exception> exceptionClass)
validateClass
in interface FuturesGetChecked.GetCheckedTypeValidator