Package ch.qos.cal10n.verifier
Enum Cal10nError.ErrorType
- java.lang.Object
-
- java.lang.Enum<Cal10nError.ErrorType>
-
- ch.qos.cal10n.verifier.Cal10nError.ErrorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Cal10nError.ErrorType>
- Enclosing class:
- Cal10nError
static enum Cal10nError.ErrorType extends java.lang.Enum<Cal10nError.ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSENT_IN_ENUM
ABSENT_IN_RB
EMPTY_ENUM
EMPTY_RB
FAILED_TO_FIND_RB
MISSING_BN_ANNOTATION
MISSING_LOCALE_DATA_ANNOTATION
-
Constructor Summary
Constructors Modifier Constructor Description private
ErrorType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Cal10nError.ErrorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Cal10nError.ErrorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MISSING_BN_ANNOTATION
public static final Cal10nError.ErrorType MISSING_BN_ANNOTATION
-
MISSING_LOCALE_DATA_ANNOTATION
public static final Cal10nError.ErrorType MISSING_LOCALE_DATA_ANNOTATION
-
FAILED_TO_FIND_RB
public static final Cal10nError.ErrorType FAILED_TO_FIND_RB
-
EMPTY_RB
public static final Cal10nError.ErrorType EMPTY_RB
-
EMPTY_ENUM
public static final Cal10nError.ErrorType EMPTY_ENUM
-
ABSENT_IN_RB
public static final Cal10nError.ErrorType ABSENT_IN_RB
-
ABSENT_IN_ENUM
public static final Cal10nError.ErrorType ABSENT_IN_ENUM
-
-
Method Detail
-
values
public static Cal10nError.ErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Cal10nError.ErrorType c : Cal10nError.ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cal10nError.ErrorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-