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 are the ihttphandler and ihttphandlerfactory interfaces ?
What is difference between view state and session state?
Elaborate differentiation between ViewState and SessionState?
What is difference between session and cookies in asp net?
How do we sort the data from a dataset?
What is redirecting behavior?
What is event bubbling?
What is difference between inproc and outproc?
What websites use asp.net?
Differentiate between client-side and server-side validations in web pages.
What is the use of global.asax file?
9. Why should we hire you over the others waiting to be interviewed?
Which of the following .NET framework supports Web API?
How to find last error which occurred in Asp.net ?
What is the difference between a default skin and a named skin?