thrownewNotFoundException("Unable to find task for the given id: "+taskId+" for user: "+authenticatedUserId+" (with groups: "+userGroups+" & with roles: "+userRoles+")");
}
returntask;
}
thrownewIllegalStateException("There is no authenticated user, we need a user authenticated to find tasks");
thrownewIllegalStateException("The authenticated user cannot update the task"+candidateUsersPayload.getTaskId()+" due it is not the current assignee");
...
...
@@ -377,7 +310,7 @@ public class TaskRuntimeImpl implements TaskRuntime {
thrownewIllegalStateException("The authenticated user cannot update the task"+candidateUsersPayload.getTaskId()+" due it is not the current assignee");
...
...
@@ -403,7 +336,7 @@ public class TaskRuntimeImpl implements TaskRuntime {
thrownewIllegalStateException("The authenticated user cannot update the task"+candidateGroupsPayload.getTaskId()+" due it is not the current assignee");
...
...
@@ -428,7 +361,7 @@ public class TaskRuntimeImpl implements TaskRuntime {
thrownewIllegalStateException("The authenticated user cannot update the task"+candidateGroupsPayload.getTaskId()+" due it is not the current assignee");
...
...
@@ -491,29 +424,6 @@ public class TaskRuntimeImpl implements TaskRuntime {
thrownewNotFoundException("Unable to find task for the given id: "+taskId+" for user: "+authenticatedUserId+" (with groups: "+userGroups+" & with roles: "+userRoles+")");
}
returninternalTask;
}
thrownewIllegalStateException("There is no authenticated user, we need a user authenticated to find tasks");