rdas@hatter.Tops.Sun.COM (Robin Das) (07/14/89)
I am currently evaluating the Eiffel environment and have just started to look at the exception handling facilities. I wrote a very simple "hello world" type of program to try it out. It core dumps and does not execute the 'rescue' clause. The dump is 'Illegal instruction'. I thought that executing a feature of an object that was not Created created an Eiffel (internal) exception. It must be a very simple problem. I also could'nt get the demo program that comes with the distribution tape (recover.e) to execute the rescue clause. Here is my 'hello world' program: class HELLO feature Create is local io:STD_FILES; io1:STD_FILES; do -- io.Create; io.output.putstring_nl("Hello world"); rescue io1.Create; io1.output.putstring_nl("Boom!!"); end end -- class HELLO Any idea of what went wrong????