Class ContinueAsNewInterruption
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.microsoft.durabletask.interruption.ContinueAsNewInterruption
-
- All Implemented Interfaces:
java.io.Serializable
public class ContinueAsNewInterruption extends java.lang.RuntimeExceptionControl flowThrowableclass for orchestrator when invokeTaskOrchestrationContext.continueAsNew(java.lang.Object). ThisThrowablemust never be caught by user code.ContinueAsNewInterruptionis thrown when an orchestrator callsTaskOrchestrationContext.continueAsNew(java.lang.Object). CatchingContinueAsNewInterruptionin user code could prevent the orchestration from saving state and scheduling new tasks, resulting in the orchestration getting stuck.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContinueAsNewInterruption(java.lang.String message)
-