Class ModelReadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxzero.sdk.persisting.eventsourcing.EventSourcingException
io.fluxzero.sdk.persisting.repository.ModelReadException
- All Implemented Interfaces:
Serializable
Actionable Model read failure. Context retains identifiers and type metadata, never payloads or message metadata.
The original failure remains the cause. A classification describes the observed failing phase, not a proof that
all other contracts or application logic are correct. Existing EventSourcingException catch blocks remain valid.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordSafe structural context; null means unavailable, not absent data.static enumThe observed cause category.static enumThe operation being attempted when the failure was observed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringStable documentation entry for the recovery choices represented by this exception. -
Constructor Summary
ConstructorsConstructorDescriptionModelReadException(ModelReadException.Kind kind, ModelReadException.Context context, Throwable cause) Creates a contextual failure with the original cause and without copying payload contents. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DOCUMENTATION
Stable documentation entry for the recovery choices represented by this exception.- See Also:
-
-
Constructor Details
-
ModelReadException
public ModelReadException(ModelReadException.Kind kind, ModelReadException.Context context, Throwable cause) Creates a contextual failure with the original cause and without copying payload contents.
-