A
Andreas van de Sand
Hi everyone,
I've got an application which uses a custom exception handler and to avoid
unhandled exceptions I've got a try{}catch (Exception){} block around the
main Application.Run(...).
Works all good on my machine, whenever something unexpected happens the
exception get caught, logged and it shows a nicer message.
Unfortunately for some reason, this only works on my machine! If i deploy my
project to some other computer I get the .net unhandled exception screen!
how can that be? shouldn't that try/catch catch _everything_?? I'm catching
different types, but the last catch block catches (Exception ex)! How can
anything get around that?
Any suggestions?
Thanks very much.
Cheers
Andreas van de Sand
I've got an application which uses a custom exception handler and to avoid
unhandled exceptions I've got a try{}catch (Exception){} block around the
main Application.Run(...).
Works all good on my machine, whenever something unexpected happens the
exception get caught, logged and it shows a nicer message.
Unfortunately for some reason, this only works on my machine! If i deploy my
project to some other computer I get the .net unhandled exception screen!
how can that be? shouldn't that try/catch catch _everything_?? I'm catching
different types, but the last catch block catches (Exception ex)! How can
anything get around that?
Any suggestions?
Thanks very much.
Cheers
Andreas van de Sand