#
# demonstrates that Exception's can't be caught w/ rescue... odd!
# i didn't know this was the case, what a bitch! - ryan allen
#
class MyRuntimeError < RuntimeError
end
class MyException < Exception
end
begin
raise MyRuntimeError.new
rescue
puts 'MyRuntimeError was saved! Phew.'
end
begin
raise MyException.new
rescue
puts "I am Jack's silent scream." # interpreter bums out here... !
end