What exception is thrown by execute_activity?

What exception is thrown by execute_activity? This is helpful for exception handling