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
What is data control in asp.net?
From which base class all web forms are inherited?
What is a web server? What are the load limits in it?
What is the significance of ASP.NET routing?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
Is it possible to create web application with both webforms and mvc?
How do we ensure view state has not tampered?
What is ashx file in asp.net?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
Which is the parent class of the web server control?
What is clickid?
Why do we use sessions?
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
How can we create pie chart in asp.net?