System Classes of Exceptions

Below is a list of the Fore classes that are used to handle or generate various exceptions.

Class Brief description

AccessViolationException

The AccessViolationException class represents an exception instance thrown when an object, which has not yet been created, is called.

ArgumentException

The ArgumentException class represents an exception instance thrown when an argument passed to a property or method is not available.

ArgumentNullException

The ArgumentNullException class represents an exception instance thrown when trying to pass the Null value to a property or a method, which cannot accept it as a valid value.

ArgumentOutOfRangeException

The ArgumentOutOfRangeException class represents an exception instance thrown when the value of an argument passed to a property or a method exceeds the specified range.

ArithmeticException

The ArithmeticException class represents an exception instance thrown when executing any arithmetic operations or cast to a type and conversion operations.

DirectoryNotFoundException

The DirectoryNotFoundException class represents an exception instance thrown when trying to access a directory missing from a drive.

DivideByZeroException

The DivideByZeroException class represents an exception instance thrown when an overflow error occurs due to division by zero.

EndOfStreamException

The EndOfStreamException class represents an exception instance thrown when trying to go beyond the thread during reading.

Exception

The Exception class represents a base class for all exceptions, which can be thrown during execution of a custom code.

FileNotFoundException

The FileNotFoundException class represents an exception instance thrown when trying to access a file missing from a drive.

IndexOutOfRangeException

The IndexOutOfRangeException class represents an exception instance thrown when calling an array element with the index exceeding the array limits.

IOException

The IOException class represents an exception instance thrown when an input-output error occurs.

NotFiniteNumberException

The NotFiniteNumberException class represents an exception instance thrown when the result of any operations is positive infinity, negative infinity or a non-numeric value (NaN).

OleException

The OleException class represents an exception instance thrown when using OLE objects.

OverflowException

The OverflowException class represents an exception instance thrown when the internal buffer is overflowed.

PathTooLongException

The PathTooLongException class represents an exception instance thrown when a file path or a file name exceeds the maximum allowed length.

StackOverflowException

The StackOverflowException class represents an exception instance thrown when the stack is overflowed.

TabNotNumberException

The TabNotNumberException class implements an exception instance thrown when a formula includes cells containing different types of data.

Win32Exception

The Win32Exception class represents an exception instance thrown when Windows API functions are used.

See also:

Handling Exceptions