Login  Register

Re: .NET Framework 4.0 Application Runtime Exceptions Problem

Posted by Luigi Ballabio on Mar 22, 2012; 8:28am
URL: http://quantlib.414.s1.nabble.com/NET-Framework-4-0-Application-Runtime-Exceptions-Problem-tp8685p8693.html

On Mon, Mar 12, 2012 at 2:32 AM, kcross <[hidden email]> wrote:
> Do you know if there is a way to have the C# side catch the QuantLib
> exceptions?  Even if I wrapped it in a try-catch block it wouldn't work..

The SWIG machinery should catch the C++ exception and convert it into a C# one.
Doesn't this work? What happens instead?

Luigi

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users