sample C++ -> ruby exceptions to conveys error to safe point when returning to the RUBY interpreter