throw exception if more than one match was found