Skip to content

jabbernet component OnError event catches the Unhandled Exceptions from the calling application #80

@GoogleCodeExporter

Description

@GoogleCodeExporter
I use JabberNet client to design some sort of XmppFeed-listener component. 
So I have it wrapped and compiled as .NET component. 
Among other stuff, I defined the event-handler for Jabber's "OnError" 
event.

Consumer of this component is the vb.net console application. In that 
application I purposely let some exception to be unhandled, but I defined 
the AppDomain.UnhandledException event handler. I expect this method to 
catch all unhandled exceptions.

To my surprise, it turns out when the exception is thrown and not caught 
bu the regular code in the console app, it gets caught by the XmppFeed 
component's OnError event handler.

Is this a normal behavior, and how can I prevent it?

Thanks a lot.


Original issue reported on code.google.com by shon...@hotmail.com on 28 Aug 2009 at 2:58

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions