added exceptions to the repository