MS Exam 70-536 - How to throw and handle exception from thread?

First start in VS in debug mode. Now to code, several issues.

The exception handler in your Main method is running in a different thread than the exception is thrown from. So, the exception in thread cannot be caught in Main. Check here for a discussion of why you don't want to throw/catch exceptions across threads.

What you should do instead is use an object that will wrap your thread logic but support exceptions. E.g.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions