Monday, 23 January 2012

Exception Handling in ASP.NET

Exceptions or errors are unusual occurrences that happen within the logic of an application. The CLR has provided structured way to deal with exceptions using Try/Catch block. While errors occur in ASP.NET programming, they either get handled or needs re-look at the code. While an unhandled exception propagates, the User may be redirected to an error page using different ASP.NET configuration settings.

The programmers can control the exceptions that get thrown and prevent a redirection. Error or exception handling in ASP.NET can be further categorized into 2 categories as below:
  • Handling exceptions as and when they are thrown
  • Redirecting the User to an error page when errors go unhandled

Logically, as a ASP.NET developer, you cannot program for every possibility. Hence, they are imminent.

At SPEC INDIA, our trained team of ASP.NET developers is eager to take care of any custom requirement from our probable Clients and prospects from all over the globe. If you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you.

No comments:

Post a Comment