Class ValueMappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.superdurable.dex.exceptions.ValueMappingException
- All Implemented Interfaces:
Serializable
Reports that the SDK cannot encode, hydrate, or decode an application value.
This local exception identifies unsupported wire values, non-finite numbers, unhydrated blobs,
concrete-class mismatches, and Jackson serialization failures. Verify the registered value class
and application ObjectMapper configuration before retrying.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValueMappingException(String message) Creates a value-mapping failure without an underlying cause.ValueMappingException(String message, Throwable cause) Creates a value-mapping failure with its underlying serializer error. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValueMappingException
Creates a value-mapping failure without an underlying cause.- Parameters:
message- the user-actionable mapping failure
-
ValueMappingException
-