Catching all of the exceptions is not a good idea. You should just catch the exception you really expect.