@NoTranslationRequired(value="because whenever an exception is thrown, no locale is present!") public static enum TypeConverterException.EReason extends Enum<TypeConverterException.EReason>
| Enum Constant and Description |
|---|
CONVERSION_FAILED |
NO_CONVERTER_FOUND |
NO_CONVERTER_FOUND_SINGLE |
NULL_SOURCE_NOT_ALLOWED |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage(Class<?> aDstClass) |
String |
getMessage(Class<?> aSrcClass,
Class<?> aDstClass) |
static TypeConverterException.EReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeConverterException.EReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeConverterException.EReason CONVERSION_FAILED
public static final TypeConverterException.EReason NO_CONVERTER_FOUND
public static final TypeConverterException.EReason NO_CONVERTER_FOUND_SINGLE
public static final TypeConverterException.EReason NULL_SOURCE_NOT_ALLOWED
public static TypeConverterException.EReason[] values()
for (TypeConverterException.EReason c : TypeConverterException.EReason.values()) System.out.println(c);
public static TypeConverterException.EReason 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–2015 phloc systems. All rights reserved.