MgOutOfRangeException Class Reference
[Exceptions]
Inherits MgSystemException.
Inherited by MgArgumentOutOfRangeException, and MgIndexOutOfRangeException.
Detailed Description
Thrown when a parameter value passed to a method is not in the valid range specified by its documentation.- Remarks:
- This exception is generally thrown by the collection classes when the index passed to a method is less than zero, or greater or equal to the number of elements in the collection.