remove unused Exceptions in WorkerStorage and format the code

there are many unused Exceptions in WorkerStorage, which methods doesn't throw at all.
this PR is to remove the unused Exceptions and format the code
I will do it in next PRs,  but I would like to keep the two commits for this PR, Thanks!