Enum Class ModelReadException.Kind
java.lang.Object
java.lang.Enum<ModelReadException.Kind>
io.fluxzero.sdk.persisting.repository.ModelReadException.Kind
- All Implemented Interfaces:
Serializable, Comparable<ModelReadException.Kind>, Constable
- Enclosing class:
ModelReadException
The observed cause category.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplication replay/upcaster code failed.Local catalog construction or configuration failed.Decoding failed, without enough evidence to attribute it to corrupt data or application code.Malformed serialized syntax or invalid structural storage metadata.The logical Model contract is absent from the application's catalog.A known event has no local replay handler for the selected Model.The serialized identifier is still unknown after upcasting. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelReadException.KindReturns the enum constant of this class with the specified name.static ModelReadException.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING_MODEL_CONTRACT
The logical Model contract is absent from the application's catalog. -
MISSING_SERIALIZED_TYPE
The serialized identifier is still unknown after upcasting. -
MISSING_REPLAY_HANDLER
A known event has no local replay handler for the selected Model. -
INVALID_DATA
Malformed serialized syntax or invalid structural storage metadata. -
CATALOG_FAILURE
Local catalog construction or configuration failed. -
APPLICATION_FAILURE
Application replay/upcaster code failed. -
DECODING_FAILURE
Decoding failed, without enough evidence to attribute it to corrupt data or application code.
-
-
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
-