There are a few C++ functions I call without checking for exceptions. Wrap them in a `try` block and handle any exceptions.