remove unused Exceptions in WorkerStorage
format code
Merge pull request #488 from shimingfei/RemoveUnusedExceptions

remove unused Exceptions in WorkerStorage and format the code