Hi,

 

The current implementation of the C# binding passes exceptions as callbacks through a global variable. When the natīve code generates two or more exceptions within a call a new ApplicationException will be generated.

 

In practice it would be desirable to create nested exception instead. The previous exception could be the inner of the current. To achieve this at least csharphead.swq should be modified. I could not find a way to redefine the swig exception mechanism without recreating it starting  from scratch.

 

Any suggestions will be appreciated

 

Tamas Szekeres

 

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.1/271 - Release Date: 2006.02.28.