Xceed Grid for WinForms v4.3 Documentation
Exceptions
Welcome to Xceed Grid for WinForms v4.3 > Basic Concepts > Exceptions

An exception is any error condition or unexpected behavior encountered by an executing program. Whenever an error occurs, an Exception object is created and thrown to represent the exception.

Handling exceptions.

The exceptions that can be thrown by Xceed Grid for WinForms, are handled in the same manner as regular run-time exceptions by using Try/Catch blocks. Whenever you contact technical support regarding an exception, please include the ToString () result of the exception. 

The following table provides a listing of all the exceptions that can be thrown by the grid when an error occurs: 

Exception Description
ArgumentException The exception that is thrown when one of he arguments provided to a method is not valid.
ArgumentNullException The exception that is thrown when a null (Nothing in Visual Basic) reference is passed toa method that does not accept it as a valid argument.
ArgumentOutOfRangeException The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
GridException The exception that is thrown by the grid when a non-fatal grid-specific error occurs.
GridInternalException The exception that is thrown by the grid when a fatal grid-specific error occurs.
GridValidationException The exception that is thrown by the grid when the value of a cell does not pass the validation process.
InvalidOperationException The exception that is thrown when a method call is invalid for the object's current state.
LicenseException The exception that is thrown when a component cannot be granted a license.