Error Handling in ASP.NET 4.5

The Exception Class

very exception class derives from the base class System.Exception.The .net Framework is full of predefined exception classes, such as NullReferenceException, IOException, SqlException, and so on. The Exception class includes the essential functionality for identifying any type of error. Here we will see some of the most important members in ASP.NET.very exception class derives from the …

The Exception Class Read More »

Mastering Exception

Mastering Exception When you are working with the structured exception handling keep some points in your mind: Break down your code into multiple try/catch blocks If you kept all your code into one exception handler, you will have to face trouble in determining where the problem occurred. You have no way to “resume“ the code in a …

Mastering Exception Read More »

Scroll to Top