Category Archives: dotNET Exception Handling

dotnet Exception Handling

.NET Exceptions – System.Security.Authentication.InvalidCredentialException

Making our way through the detailed .NET Exception Handling series we’ve been creating, today we’ll be looking into the System.Security.Authentication.InvalidCredentialException. The InvalidCredentialException occurs when authentication fails for one of a number of authentication stream classes in the .NET Framework. In this article we’ll explore the InvalidCredentialException by looking at where… continue reading →

dotnet Exception Handling

.NET Exceptions – System.Xml.XPath.XPathException

Continuing our journey through the in-depth .NET Exception Handling series, today we’ll go over the System.Xml.XPath.XPathException. A XPathException is thrown anytime an error occurs while performing basic XPath parsing, using classes such as XPathNavigator and the like. Throughout this article we’ll explore the XPathException in more detail, starting with where… continue reading →

.NET Exceptions – RegexMatchTimeoutException

Making our way through our detailed .NET Exception Handling series, we next come to the RegexMatchTimeoutException. This exception is thrown when performing RegexMatchTimeoutException.Match() or RegexMatchTimeoutException.IsMatch() calls in which the specified timeout duration is exceeded while performing the regex operation. Let’s jump right in! The Technical Rundown All .NET exceptions are… continue reading →

dotnet Exception Handling

.NET Exceptions – System.DivideByZeroException

Moving along through our in-depth .NET Exception Handling series, today we face off against the System.DivideByZeroException. The System.DivideByZeroException is thrown when attempting to divide an integer or a decimal by zero. Normally divide by zero errors are pretty boring, but in this article we’ll examine the System.DivideByZeroException in more detail… continue reading →

System.Threading.ThreadAbortException

.NET Exceptions – System.Data.ObjectNotFoundException

Making our way through our detailed .NET Exception Handling series, today we’ll tackle the lovely System.Data.ObjectNotFoundException. The System.Data.ObjectNotFoundException is typically used and thrown when dealing with ADO.NET (or other data layer components) and an expected object cannot be found. Throughout this article we’ll explore the System.Data.ObjectNotFoundException in a bit more… continue reading →

System.Threading.ThreadAbortException

.NET Exceptions – System.OverflowException

Moving along through our detailed .NET Exception Handling series, today we’ll be tackling the ever-popular System.OverflowException. With a name that most developers will probably recognize, the System.OverflowException in .NET indicates that an invalid arithmetic, casting, or conversion error occurred within a checked context. Throughout this article we’ll explore the System.OverflowException… continue reading →

System.Threading.ThreadAbortException

.NET Exceptions – System.Activities.ValidationException

Moving along through our in-depth .NET Exception Handling series, today we’ll dig deeper into the System.Activities.ValidationException. The System.Activities.ValidationException is meant to be thrown when a Windows Workflow Foundation element, such as an Activity or Workflow, is in an invalid state. In this article we’ll briefly examine what the Windows Workflow… continue reading →

System.Threading.ThreadAbortException

.NET Exceptions – System.Threading.ThreadAbortException

Making our way through our detailed .NET Exception Handling series, today we’ll dig into the fun System.Threading.ThreadAbortException. A System.Threading.ThreadAbortException is thrown when the Abort() method is invoked on a Thread instance. In this article we’ll go over the ThreadAbortException in more detail, examining where it resides in the .NET exception… continue reading →