All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.durabletask.OrchestratorBlockedException Maven / Gradle / Ivy

Go to download

This package contains classes and interfaces for building Durable Task orchestrations in Java.

There is a newer version: 1.5.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.durabletask;

/**
 * Control flow {@code Throwable} class for orchestrator functions. This {@code Throwable} must never be caught by user
 * code.
 * 

* {@code OrchestratorBlockedException} is thrown when an orchestrator calls {@link Task#await} on an uncompleted task. The * purpose of throwing in this way is to halt execution of the orchestrator to save the current state and commit any * side effects. Catching {@code OrchestratorBlockedException} in user code could prevent the orchestration from saving * state and scheduling new tasks, resulting in the orchestration getting stuck. */ public final class OrchestratorBlockedException extends RuntimeException { OrchestratorBlockedException(String message) { super(message); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy