From: Aleksei Guzev Date: 2001-07-05T20:57:19+09:00 Subject: [ruby-talk:17286] Re: Inheritance What I want to do could be expressed in pseudo-C++. Assume Exception and ZeroDivisionError be prdefined classes ( as it is in Ruby ) class MyException: Exception { } class IntDivisionByZero: MyException, ZeroDivisionError {} void fn( a ) { if( a > 0 ) throw IntDivisionByZero(); else throw ZeroDivisionError(); } cin >> v; try { fn( v ); } catch( ZeroDivisionError err ) { cout << "catched\n"; } I'd like "catched" be printed regardles of v's sign. This works in C++, because it implements multiple inheritance. But Ruby does not. Is there a way do achieve the same results.