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?
--
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
-------------------------------------------------------------------------------
"Ole" <(E-Mail Removed)> wrote in message
news:30CA8812-1C45-4012-BE9F-(E-Mail Removed)...
> Hi,
>
> I'm using the FileSystemWatcher to monitor if there are changes to a file.
> When the event is raised I do some stuff in a custom event handler sub
> routine. It works fine.
>
> However... ;-)
>
> When errors do occur, I throw the exception from the catch part in my
> event
> handler sub routine. But I'm not able to catch that exception outside my
> event handler. How is this to be done?
>
> Regards,
> Ole
>
>