mirror of https://github.com/dapr/java-sdk.git
throwing exceptions when setting appId
Signed-off-by: salaboy <Salaboy@gmail.com>
This commit is contained in:
parent
345c9b2096
commit
f118b31238
|
|
@ -17,7 +17,6 @@ public class WorkflowTaskOptions {
|
|||
|
||||
private final WorkflowTaskRetryPolicy retryPolicy;
|
||||
private final WorkflowTaskRetryHandler retryHandler;
|
||||
private final String appId;
|
||||
|
||||
public WorkflowTaskOptions(WorkflowTaskRetryPolicy retryPolicy, WorkflowTaskRetryHandler retryHandler) {
|
||||
this(retryPolicy, retryHandler, null);
|
||||
|
|
@ -56,6 +55,11 @@ public class WorkflowTaskOptions {
|
|||
}
|
||||
}
|
||||
|
||||
if (appId != null) {
|
||||
throw new RuntimeException("Setting an appId is not supported in 1.15.x");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for WorkflowTaskOptions with retry policy and app ID.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue