Exception handling in ASP.NET
Describe exception handling in ASP.NET.- Exception handling correct unusual occurrences and prevent application from getting terminated. - Whenever an exception occurs within an application a yellow page appears.
There are three ways by which you can handle these exceptions:
1. Using the try-catch block. 2. Using the error events. 3. Custom error pages.
|
Use of error pages in ASP.NETASP.NET - Use of error pages in ASP.NET - Error pages are used when exceptions are outside the scope of the application and the application can’t respond directly to these exceptions. ..