Advertisement
Advertisement
Exception Class | Description |
---|---|
Exception | This is a base class for all built-in exceptions, it represents errors that occur during application execution. |
SystemException | This is a base class from which all the exceptions thrown by C# runtime system(CLR) are derived. |
ArithmeticException | This exception is thrown for errors in an arithmetic, casting, or conversion operation. |
ArrayTypeMismatchException | The exception that is thrown when an attempt is made to store an element of the wrong type within an array. |
ArgumentNullException | This type of exception is raised when result of an arithmetic expression is too large to be displayed. |
DivideByZeroException | This type of exception is thrown an argument that is passed to a method is null. |
PathTooLongException | This type of exception is raised when there is a syntax error in Python's script/program. |
DirectoryNotFoundException | The exception that is thrown when the path of a directory path is not valid. |
InvalidDataException | The exception that is thrown when invalid data is detected in the data stream. |
IOException Class | This type of exception is thrown during an I/O error, while accessing information using streams, files and directories. . |
UnauthorizedAccessException | The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error. |
OutOfMemoryException | This type of exception is thrown when there is not enough memory to execute a program. |
InvalidTimeZoneException | The exception that is thrown when the specified time zone information is invalid. |
MemberAccessException | The exception that is thrown when an attempt to access a class member fails. |
NullReferenceException | This type of exception is thrown when we are trying to operate on a null reference i.e. a reference which does not refer to an object. |
InvalidCastException | The exception that is thrown for invalid casting or explicit conversion. |
IndexOutOfRangeException | This type of exception is thrown when we try to access an element of an array with an out-of-range index value. |
KeyNotFoundException | This type of exception is raised when a local or global name is not found or its value is not defined. |
UriFormatException | This type of exception is thrown when an invalid Uniform Resource Locator(URI) is used. |
TimeoutException | This type of exception is thrown when the time allocated for an operation has passed. |
Advertisement
Advertisement
Please check our latest addition
C#, PYTHON and DJANGO
Advertisement