ruby: properly forward C++ exceptions from addStandardTypes to the ruby side