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 more than one person use the same login?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
Can you explain the importance of finalize method in .net?
Which library is used by the testers and developers to develop automated tests and create testing tools?
How to use a Master Database in Asp.net?
Can you explain one critical mapping?
What is the difference between CLICK and MOUSE DOWN Event ?
Is react a template engine?
Can one dll file contains the compiled code of more than one .net language?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
What is the difference between table and query?
Where are session variables stored?
Can you clarified A Web service can only be written in .NET or not?
How do you store a value in viewstate and retrieve them?
What are the different types of sessions in asp.net? Name them?