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