Merge pull request #54 from kshchepanovskyi/master

[refactoring] Collapse identical catch blocks