Refactoring
Deleted duplicate exceptions