@@ -743,6 +743,9 @@ private StartWorkflowExecutionResponse startWorkflowExecution(
743
743
if (result .isSetLimitExceededError ()) {
744
744
throw result .getLimitExceededError ();
745
745
}
746
+ if (result .isSetEntityNotExistError ()) {
747
+ throw result .getEntityNotExistError ();
748
+ }
746
749
throw new TException ("StartWorkflowExecution failed with unknown error:" + result );
747
750
} finally {
748
751
if (response != null ) {
@@ -785,6 +788,9 @@ private GetWorkflowExecutionHistoryResponse getWorkflowExecutionHistory(
785
788
if (result .isSetServiceBusyError ()) {
786
789
throw result .getServiceBusyError ();
787
790
}
791
+ if (result .isSetEntityNotExistError ()) {
792
+ throw result .getEntityNotExistError ();
793
+ }
788
794
throw new TException ("GetWorkflowExecutionHistory failed with unknown error:" + result );
789
795
} finally {
790
796
if (response != null ) {
@@ -830,6 +836,9 @@ private PollForDecisionTaskResponse pollForDecisionTask(PollForDecisionTaskReque
830
836
if (result .isSetLimitExceededError ()) {
831
837
throw result .getLimitExceededError ();
832
838
}
839
+ if (result .isSetEntityNotExistError ()) {
840
+ throw result .getEntityNotExistError ();
841
+ }
833
842
throw new TException ("PollForDecisionTask failed with unknown error:" + result );
834
843
} finally {
835
844
if (response != null ) {
@@ -876,6 +885,9 @@ private RespondDecisionTaskCompletedResponse respondDecisionTaskCompleted(
876
885
if (result .isSetLimitExceededError ()) {
877
886
throw result .getLimitExceededError ();
878
887
}
888
+ if (result .isSetEntityNotExistError ()) {
889
+ throw result .getEntityNotExistError ();
890
+ }
879
891
throw new TException ("RespondDecisionTaskCompleted failed with unknown error:" + result );
880
892
} finally {
881
893
if (response != null ) {
@@ -923,6 +935,9 @@ private void respondDecisionTaskFailed(RespondDecisionTaskFailedRequest failedRe
923
935
if (result .isSetLimitExceededError ()) {
924
936
throw result .getLimitExceededError ();
925
937
}
938
+ if (result .isSetEntityNotExistError ()) {
939
+ throw result .getEntityNotExistError ();
940
+ }
926
941
throw new TException ("RespondDecisionTaskFailed failed with unknown error:" + result );
927
942
} finally {
928
943
if (response != null ) {
@@ -962,6 +977,9 @@ private PollForActivityTaskResponse pollForActivityTask(PollForActivityTaskReque
962
977
if (result .isSetServiceBusyError ()) {
963
978
throw result .getServiceBusyError ();
964
979
}
980
+ if (result .isSetEntityNotExistError ()) {
981
+ throw result .getEntityNotExistError ();
982
+ }
965
983
if (result .isSetDomainNotActiveError ()) {
966
984
throw result .getDomainNotActiveError ();
967
985
}
0 commit comments