From: matz@... (Yukihiro Matsumoto) Date: 2002-04-08T14:36:02+09:00 Subject: Re: Exception instances... Hi, In message "Exception instances..." on 02/04/08, Sean Chittenden writes: |I don't understand where the following warning is coming from: Because you skipped the "initialize" of Exception. You have to call "super" in your version of "initialize". I'm still not sure you will get what you want. The behavior differs in 1.7; It will not give you warning. 1.6 without super ruby 1.6.7 (2002-03-19) [i386-linux] Start /tmp/e.rb:12: warning: instance variable mesg not initialized TestingError Just testing... Finish. 1.6 with super ruby 1.6.7 (2002-03-19) [i386-linux] Start Just testing... Just testing... Finish. 1.7 without super ruby 1.7.2 (2002-03-29) [i686-linux] Start Just testing... booga? Finish. 1.7 with super ruby 1.7.2 (2002-03-29) [i686-linux] Start Just testing... booga? Finish. matz.