Package com.luciad.model
Enum Class TLcdModelDecodeException.Category
java.lang.Object
java.lang.Enum<TLcdModelDecodeException.Category>
com.luciad.model.TLcdModelDecodeException.Category
- All Implemented Interfaces:
Serializable,Comparable<TLcdModelDecodeException.Category>,Constable
- Enclosing class:
TLcdModelDecodeException
public static enum TLcdModelDecodeException.Category
extends Enum<TLcdModelDecodeException.Category>
A coarse, format-agnostic classification of the decode failure.
This enum intentionally contains only a small number of categories so that generic error-handling code (UI dialogs, retry logic, logging) can act on it without knowledge of the specific format being decoded.
- Since:
- 2026.0.11
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStructurally fine, but violates semantic rules of the format.Bytes are structurally broken (truncated, bad header, parse error).Anything that doesn't fit into one of the other categories.Source not readable (I/O, 404, permissions).Source is not in a format this decoder accepts.Format recognized, but the decoder cannot handle this version. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TLcdModelDecodeException.Category[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOURCE_NOT_AVAILABLE
Source not readable (I/O, 404, permissions). -
UNSUPPORTED_FORMAT
Source is not in a format this decoder accepts. -
UNSUPPORTED_VERSION
Format recognized, but the decoder cannot handle this version. -
MALFORMED_CONTENT
Bytes are structurally broken (truncated, bad header, parse error). -
INVALID_CONTENT
Structurally fine, but violates semantic rules of the format. -
OTHER
Anything that doesn't fit into one of the other categories.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-