Remove checked InterruptedException from dispatch method of ResponseDispatcher #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature Request
Summary
The dispatch Method of the ResponseDispatcher should no longer have checked Exceptions.
Required workarround
As the exception is checked, every occurence needs to handle it, leading to duplicated code and the fact that e.g. the CommandHandler has nothing to do with the thread lifecycle.
Description
The current implementation is
with the change the InterruptedException is no longer checked.
Checklist
I searched docs for alternative implementations matching my needschanged the description
assigned to @lars.winzer
created branch
feat/35-make-dispatch-method-of-responsedispatcher-uncheckedto address this issuementioned in merge request !67
mentioned in commit
20e8491cff