[Mono-list] Exception handling for constructor

Joe Ante joe@uti.is
Wed, 23 Jun 2004 14:39:05 +0200


I am implementing exception handling from the c side.
When using mono_runtime_invoke I just check the returned exception for being
non-NULL, this works nicely.

The same is not possible when calling the constructor.
For now I wrote my own mono_runtime_object_init function.

I think it would make sense to change mono_runtime_object_init so that an
MonoException** is passed through.

If there is interest to make such a change in cvs I can send the diff.

Btw. I am really really amazed by the code quality of the entire mono
project. You guys are awesome.

Joe Ante