Class UnsupportedContinueAsNewRequest

java.lang.Object
java.lang.Throwable
java.lang.Error
io.temporal.internal.statemachines.UnsupportedContinueAsNewRequest
All Implemented Interfaces:
Serializable

public class UnsupportedContinueAsNewRequest extends Error
Thrown when Workflow.continueAsNew(java.lang.Object...) is called from an unsupported location.

The reason this class extends Error is for application workflow code to not catch it by mistake. The default behavior of the SDK is to block workflow execution while Error is thrown.

See Also:
  • Constructor Details

    • UnsupportedContinueAsNewRequest

      public UnsupportedContinueAsNewRequest(String message)