From: Dave Thomas Date: 2000-09-01T07:16:51+09:00 Subject: [ruby-talk:4710] Re: Two observations Mark Slagell writes: > My eval.rb was derived from the version in matz's tutorial ... I'd better look at the > current one and see what else has changed! And yes I see now that "rescue Exception" gets > tripped by eval("exit"), which is undesirable. > > Where are the subclasses of Exception documented? I don't see it in the lib reference. Well... it's in the book ;-) However, a sneak peek: fatal (used internally by Ruby) Interrupt NoMemoryError SignalException ScriptError LoadError NameError NotImplementedError SyntaxError StandardError ArgumentError FloatDomainError IndexError IOError EOFError LocalJumpError RegexpError RuntimeError SecurityError SystemCallError ...system-dependent exceptions SystemStackError ThreadError TypeError ZeroDivisionError SystemExit Dave