0% found this document useful (0 votes)
39 views1 page

Exceptions: Exception Class Cause

This document lists common exception classes in .NET and provides a brief description of each cause. There are 19 exception classes described ranging from general exceptions like SystemException to more specific exceptions like ArgumentNullException which is thrown when a null argument is passed to a method that does not accept null values.

Uploaded by

Sachidanand Naik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views1 page

Exceptions: Exception Class Cause

This document lists common exception classes in .NET and provides a brief description of each cause. There are 19 exception classes described ranging from general exceptions like SystemException to more specific exceptions like ArgumentNullException which is thrown when a null argument is passed to a method that does not accept null values.

Uploaded by

Sachidanand Naik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Exceptions

Exception Class Cause


SystemException A failed run-time check;used as a base class for other.
AccessException Failure to access a type member, such as a method or field.
ArgumentException An argument to a method was invalid.
ArgumentNullException A null argument was passed to a method that doesn't accept it.
ArgumentOutOfRangeException Argument value is out of range.
ArithmeticException Arithmetic over - or underflow has occurred.
ArrayTypeMismatchException Attempt to store the wrong type of object in an array.
BadImageFormatException Image is in the wrong format.
CoreException Base class for exceptions thrown by the runtime.
DivideByZeroException An attempt was made to divide by zero.
FormatException The format of an argument is wrong.
IndexOutOfRangeException An array index is out of bounds.
InvalidCastExpression An attempt was made to cast to an invalid class.
InvalidOperationException A method was called at an invalid time.
MissingMemberException An invalid version of a DLL was accessed.
NotFiniteNumberException A number is not valid.
NotSupportedException Indicates sthat a method is not implemented by a class.
NullReferenceException Attempt to use an unassigned reference.
OutOfMemoryException Not enough memory to continue execution.
StackOverflowException A stack has overflown.

You might also like