what are you throwing? You should be able to catch any cls compliant
exception. If it is non cls compliant, you will still be able to catch it
with a catch all filter but you won't be able do anything because there is
no exception object available. did i understand you right?

Signature
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc, Amazon, B&H etc
-------------------------------------------------------------------------------
> Hi,
>
[quoted text clipped - 11 lines]
> Regards,
> Ole
Ole - 10 Aug 2005 14:56 GMT
I'm throwing an general Exception e from my eventhandler and I want to catch
that exception in the function that created the watcher.
This function is looping/waiting for the event to occur and eventually
reaches a time out if no file has been found.
What I did belive should happend was that my function which created the
watcher also should catch the exception from my eventhandler like it would
have done if this was a regular call to a sub or function.
Ole
> what are you throwing? You should be able to catch any cls compliant
> exception. If it is non cls compliant, you will still be able to catch it
[quoted text clipped - 16 lines]
> > Regards,
> > Ole