C
Carl
Hi
I have in my program.cs code the followning line:
Application.ThreadException += new
ThreadExceptionEventHandler(eh.OnThreadException);
It has been working fine, catching all exceptions that is thrown, and not
caught anywhere else in the application. Now, I have a case where it does
not catch an exception! When a grid is filled with data, the DataTable event
RowChanged is triggered, in that event, an exception is raised. The IDE
stops and shows the exception, but then it just keeps executing like nothing
happened. The flow is not interrupted, and the global exception hander is
not called!! Could anyone explain this behaviour. It all seems to happen in
the same thread.
regards
Carl
I have in my program.cs code the followning line:
Application.ThreadException += new
ThreadExceptionEventHandler(eh.OnThreadException);
It has been working fine, catching all exceptions that is thrown, and not
caught anywhere else in the application. Now, I have a case where it does
not catch an exception! When a grid is filled with data, the DataTable event
RowChanged is triggered, in that event, an exception is raised. The IDE
stops and shows the exception, but then it just keeps executing like nothing
happened. The flow is not interrupted, and the global exception hander is
not called!! Could anyone explain this behaviour. It all seems to happen in
the same thread.
regards
Carl