Catch all exceptions.