Catching all exceptions that are raised