C# Programming - Exception Handling - Discussion

Discussion :: Exception Handling - General Questions (Q.No.8)

8. 

Which of the following is the Object Oriented way of handling run-time errors?

[A]. OnError
[B]. HERESULT
[C]. Exceptions
[D]. Error codes
[E]. Setjump and Longjump

Answer: Option C

Explanation:

No answer description available for this question.

Santosh said: (Aug 19, 2013)  
When an exception occurs it firstly see by operating system.

OS return back it to CLR where CLR convert it to an object of that error then see if according to that exception is there any catch block which can handle that exception then OK otherwise terminates the application.

Suppose some of my friends may help me to improve this answer.

Thanks.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.