Category Archives: dotNET Exception Handling

dotnet-exception-handling

.NET Exception Handling – System.StackOverflowException

Today, as we continue through our .NET Exception Handling series, we’ll be taking a closer look at the System.StackOverflowException. As indicated by the name, the System.StackOverflowException is thrown when a stack overflow occurs within .NET execution. Throughout this article we’ll explore the System.StackOverflowException in more detail, including where it sits… continue reading →

dotnet-exception-handling

.NET Exception Handling – System.OutOfMemoryException

Taking the next glorious step down the shining path of our .NET Exception Handling series, today we’ll be looking over the amazing System.OutOfMemoryException. As the name implies, the System.OutOfMemoryException typically occurs when the common language runtime (CLR) is unable to allocate enough memory that would be necessary to perform the… continue reading →

dotnet-exception-handling

.NET Exception Handling – System.BadImageFormatException

Today, as we continue along through our .NET Exception Handling series, we’re going to take a look at the System.BadImageFormatException. System.BadImageFormatException has nothing to do with gifs or jpgs, but instead, occurs when a .NET application attempts to load a dynamic link library (.dll) or executable (.exe) that doesn’t match… continue reading →

dotnet-exception-handling

.NET Exception Handling – System.InvalidOperationException

Moving right along through the magical world of our .NET Exception Handling series, today we’re going to cover the System.InvalidOperationException. The System.InvalidOperationException is a fairly common exception, as it is typically thrown when there’s a failed attempt to invoke a method, caused by something other than invalid arguments passed to… continue reading →

dotnet-exception-handling

.NET Exception Handling: System.Data.SqlClient.SqlException

As we continue down the beautiful path that winds through our .NET Exception Handling series, today we’ll be examining the System.Data.SqlClient.SqlException. The System.Data.SqlClient.SqlException is typically thrown when an accessed SQL Server returns a warning or error of its own. In this article, we’ll explore where System.Data.SqlClient.SqlException resides within the .NET… continue reading →

dotnet-exception-handling

.NET Exception Handling – System.IO.FileNotFoundException

Continuing along through the .NET Exception Handling series, today we’re going to examine the ever-popular System.IO.FileNotFoundException. The System.IO.FileNotFoundException is common because, as the name suggests, it primarily rears its head when attempting to access a file that doesn’t exist. In this article, we’ll dive into where System.IO.FileNotFoundException fits into the… continue reading →