exception refactoring to only use doctrine exceptions
Merge pull request #322 from doctrine/exception-cleanup

exception refactoring to only use doctrine exceptions