Exception-safety in extensions Three problems: Correct behavior in presence of exceptions Ruby exceptions should not enter C++ code C++ exceptions should not enter Ruby code