Skip to content

Change OrchestratorBlockedEvent and TaskFailedException to be unchecked exceptions #88

@cgillum

Description

@cgillum

To improve the ease of use for Durable Functions for Java, we should change OrchestratorBlockedEvent and TaskFailedException to both derive from the unchecked RuntimeException. The main drivers for this are:

  1. Users don't have to declare that every orchestrator functions throws OrchestratorBlockedEvent, TaskFailedException when using the new middleware.
  2. Users can more easily use context APIs from within lambdas.

We should also rename OrchestratorBlockedEvent to OrchestratorBlockedException now that it derives from Exception.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions