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

public static enum ModelReadException.Kind extends Enum<ModelReadException.Kind>
The observed cause category.
  • Enum Constant Details

    • MISSING_MODEL_CONTRACT

      public static final ModelReadException.Kind MISSING_MODEL_CONTRACT
      The logical Model contract is absent from the application's catalog.
    • MISSING_SERIALIZED_TYPE

      public static final ModelReadException.Kind MISSING_SERIALIZED_TYPE
      The serialized identifier is still unknown after upcasting.
    • MISSING_REPLAY_HANDLER

      public static final ModelReadException.Kind MISSING_REPLAY_HANDLER
      A known event has no local replay handler for the selected Model.
    • INVALID_DATA

      public static final ModelReadException.Kind INVALID_DATA
      Malformed serialized syntax or invalid structural storage metadata.
    • CATALOG_FAILURE

      public static final ModelReadException.Kind CATALOG_FAILURE
      Local catalog construction or configuration failed.
    • APPLICATION_FAILURE

      public static final ModelReadException.Kind APPLICATION_FAILURE
      Application replay/upcaster code failed.
    • DECODING_FAILURE

      public static final ModelReadException.Kind DECODING_FAILURE
      Decoding failed, without enough evidence to attribute it to corrupt data or application code.
  • Method Details

    • values

      public static ModelReadException.Kind[] 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

      public static ModelReadException.Kind valueOf(String name)
      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 name
      NullPointerException - if the argument is null