I see a lot of exceptions here can we just replace them by Exception