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
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
What is the namespace to create thread in .net?
What is the file through which you can customize your asp.net application?
Is it possible to change the index of primary key on table?
Differentiate between file-based dependency and key-based dependency.
What are the events in a page life cycle?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
Web API uses which library for JSON serialization?
Explain what are webservices?
Is asp.net a language?
What is the use of express session?
What is a user session?
Does google crawl redirects?
Why asp.net mvc is better than asp.net? : Asp.Net MVC
What are the major built-in objects in ASP.NET?