Robert Klemme wrote: > On 02/13/2010 02:16 AM, Xeno Campanoli wrote: >> I don't want to use "ArgumentError" as this is a matter of data that >> may be programmed in a daughter class, and is not necessarily an >> argument. Specifically, the state of some object variables in this case. > > Can you provide more context information? When do you want to throw? > > Kind regards > > robert > For now I am using "ScriptError". I was using "SyntaxError", but I think that was just wrong. Here are some places: I have what I want to be pure virtual methods in a base class: def myPureVirtualMethod raise ScriptError, "This should never be called. Daughter Classes MUST define their own." end then there is def validateThatThingMadeByPureVirtualMethodIsThere unless theThingMMadeByPureVirtualMethodIsThere? raise ScriptError, "That thingy isn't there." end end -- "It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member