added repository exception

added repository exception