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 does the .webpart file do?
Is viewstate enabled by default?
What are validator? How do you disable them?
Why session is used in asp.net?
How ASP.NET page works?
Can I read the hard disk serial # of the client computer using asp.net?
What is the size of Get method and how much data it can store?
Explain serialization and deserialization?
Which is better asp.net or php?
Can you nest updatepanel within each other?
What is bound controls
What are the components of ado.net?
Explain how asp.net page works?
What is page request in asp.net?
How do you identify that the page is postback?