Class ValueMappingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.superdurable.dex.exceptions.ValueMappingException
All Implemented Interfaces:
Serializable

public final class ValueMappingException extends RuntimeException
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 Details

    • ValueMappingException

      public ValueMappingException(String message)
      Creates a value-mapping failure without an underlying cause.
      Parameters:
      message - the user-actionable mapping failure
    • ValueMappingException

      public ValueMappingException(String message, Throwable cause)
      Creates a value-mapping failure with its underlying serializer error.
      Parameters:
      message - the user-actionable mapping failure
      cause - the underlying mapping or serialization error