Enum Error
- java.lang.Object
-
- java.lang.Enum<Error>
-
- org.apache.tika.parser.microsoft.onenote.Error
-
- All Implemented Interfaces:
Serializable
,Comparable<Error>
public enum Error extends Enum<Error>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPACT_ID_MISSING
HEX_OUT_OF_RANGE
INVALID_CONSTANT
OK
RESERVED_NONZERO
SEGV
STRING_TOO_SHORT
UNKNOWN_ENUM
UNKNOWN_GUID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Error
valueOf(String name)
Returns the enum constant of this type with the specified name.static Error[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final Error OK
-
SEGV
public static final Error SEGV
-
RESERVED_NONZERO
public static final Error RESERVED_NONZERO
-
UNKNOWN_ENUM
public static final Error UNKNOWN_ENUM
-
INVALID_CONSTANT
public static final Error INVALID_CONSTANT
-
STRING_TOO_SHORT
public static final Error STRING_TOO_SHORT
-
HEX_OUT_OF_RANGE
public static final Error HEX_OUT_OF_RANGE
-
COMPACT_ID_MISSING
public static final Error COMPACT_ID_MISSING
-
UNKNOWN_GUID
public static final Error UNKNOWN_GUID
-
-
Method Detail
-
values
public static Error[] 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 (Error c : Error.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Error valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-