[Python.NET] catching exceptions thrown from .Net

Brian Lloyd brian at zope.com
Tue Jul 5 16:25:43 CEST 2005


> Is this  supposed to work in RC5 on Win32 using the supplied python 
> binary? I have a .Net dll which throws a user defined exception but its 
> being ignored by my python code.
> 
> Is this to be expected?
> 
> Mathew

Does the user defined exception inherit (eventually) from 
System.Exception? If so, it should work...


Brian Lloyd        brian at zope.com
V.P. Engineering   540.361.1716              
Zope Corporation   http://www.zope.com 




More information about the PythonDotNet mailing list