Class StateSchemaException

All Implemented Interfaces:
Serializable

@Experimental public final class StateSchemaException extends IllegalArgumentException
Thrown when a workflow's state schema rejects a state write: the schema does not declare the key, or the value does not match the key's schema. The message never quotes the value.
See Also:
  • Constructor Details

    • StateSchemaException

      public StateSchemaException(String message)
    • StateSchemaException

      public StateSchemaException(String message, @Nullable Throwable cause)