From: Sherm Pendley Date: 2011-02-12T16:36:40+09:00 Subject: Re: Exception that doesn't stop program flow Terry Michaels writes: > Okay... this might sound weird (contradictory even) but is there a way > in Ruby to create an exception that can be caught at any level above the > point of origin, but /doesn't/ actually interrupt program flow when it > is raised? In a program I am writing, a certain sort of event occurs > that I have to be sure to deal with later on outside of the function, > but I don't want it to interrupt the function because it will leave > object data inconsistent. I probably just need to write another event > class and pop this onto some kind of global queue; but I thought I might > as well ask in case there is something helpful I have overlooked. Sounds to me like the observer pattern: sherm-- -- Sherm Pendley Cocoa Developer