Catch all exceptions in the examples