Type Summary

						public sealed class InvalidProgramException : SystemException
{
  // Constructors
     public InvalidProgramException ();
     public InvalidProgramException (string message);
     public InvalidProgramException (string message,
                                    Exception inner);
}

KG This class contains one of those silly mistakes that pop their heads up too often. The innerException parameter in 95% of the framework is called innerException; here it is just called inner. Another learning exercise is to get checking and consistency tools in place sooner rather than later.

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.