How do you handle unhandled exceptions in ASP.NET?.
Answer Posted / raviraj
usually we handle exceptions in an appication using try ...
catch block.....If this structured exception too failed (as
you said the case of unhandled exception)Then we can define
user defined execeptions by creating a class which inherits
the application exception.The exception that contained in
the method of the class will automatically handled by the
throw new exception statement ,which contains the error
message.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
What are the Types of objects in ASP
What are the various types of cookies in asp.net?
What is the purpose of asp.net?
Which is better union or union all?
What is the basic difference between asp and asp.net?
What is asp.net web application?
What is postback and autopostback in asp.net?
What is session id in web application?
What is the function of the ViewState property?
What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
Explain cashing in asp.net.
What’s the catch?
What is asp.net version?
Differentiate globalization and localization.