Wrapped all exceptions in RepositoryException class.