reformatting updates for issue #2162
This commit is contained in:
parent
e3489ba3ec
commit
0197e42e9c
|
@ -184,15 +184,12 @@ public class TaskServiceImpl implements TaskService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Task forceCancelClaim(String taskId)
|
public Task forceCancelClaim(String taskId)
|
||||||
throws TaskNotFoundException,
|
throws TaskNotFoundException, InvalidTaskStateException, NotAuthorizedOnWorkbasketException {
|
||||||
InvalidTaskStateException,
|
try {
|
||||||
InvalidOwnerException
|
return this.cancelClaim(taskId, true);
|
||||||
try {
|
} catch (InvalidOwnerException e) {
|
||||||
return this.cancelClaim(taskId, true);
|
throw new SystemException("this should not have happened. You've discovered a new bug!", e);
|
||||||
} catch (InvalidOwnerException e) {
|
}
|
||||||
throw new SystemException(
|
|
||||||
"this should not have happened. You've discovered a new bug!", e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue