added exception

added repository exception