[Ironruby-core] Raising Exceptions

John Lam (DLR) jflam at microsoft.com
Thu Dec 6 14:25:04 EST 2007

John Messerly:

> Peter Bacon Darwin:
> > And to add further confusion there are also
> > RubyExceptions.CreateXXXError methods available.
> >
> > What to use?
> I think the convention is to use the RubyExceptions.CreateXXXError
> methods (although I'm not clear on the reason).

It's so that you can think in terms of Ruby errors and not what the .NET exception type should be (IOW you don't need to read the diagram each time).


More information about the Ironruby-core mailing list