Re: [IronPython] .NET Exception to Python Exception conversion

2007-06-19 Thread Michael Foord
MAIL PROTECTED] *On Behalf Of *Laurent > Debacker > *Sent:* Tuesday, June 19, 2007 11:45 AM > *To:* users@lists.ironpython.com > *Subject:* [IronPython] .NET Exception to Python Exception conversion > > Hello, > > I'm catching exceptions raised in my winforms thread

Re: [IronPython] .NET Exception to Python Exception conversion

2007-06-19 Thread Michael Foord
ailto:[EMAIL PROTECTED] On Behalf Of Michael Foord > Sent: Tuesday, June 19, 2007 3:45 PM > To: Discussion of IronPython > Subject: Re: [IronPython] .NET Exception to Python Exception conversion > > Dino Viehland wrote: > >> If the exception was raised in Python then yo

Re: [IronPython] .NET Exception to Python Exception conversion

2007-06-19 Thread Dino Viehland
gt; [mailto:[EMAIL PROTECTED] *On Behalf Of *Laurent > Debacker > *Sent:* Tuesday, June 19, 2007 11:45 AM > *To:* users@lists.ironpython.com > *Subject:* [IronPython] .NET Exception to Python Exception conversion > > Hello, > > I'm catching exceptions raised in my winforms thread usin

Re: [IronPython] .NET Exception to Python Exception conversion

2007-06-19 Thread Michael Foord
, 2007 11:45 AM > *To:* users@lists.ironpython.com > *Subject:* [IronPython] .NET Exception to Python Exception conversion > > Hello, > > I'm catching exceptions raised in my winforms thread using > > def exceptionHandler(sender, event): &g

Re: [IronPython] .NET Exception to Python Exception conversion

2007-06-19 Thread Dino Viehland
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laurent Debacker Sent: Tuesday, June 19, 2007 11:45 AM To: users@lists.ironpython.com Subject: [IronPython] .NET Exception to Python Exception conversion Hello, I'm catching exceptions raised in my winforms thread using

[IronPython] .NET Exception to Python Exception conversion

2007-06-19 Thread Laurent Debacker
Hello, I'm catching exceptions raised in my winforms thread using def exceptionHandler(sender, event): print event.Exception Application.ThreadException += ThreadExceptionEventHandler(exceptionHandler) Application.SetUnhandledExceptionMode( Unhand