Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgOutOfRangeException Class Reference
[Exceptions]

Thrown when a parameter value passed to a method is not in the valid range specified by its documentation. More...

Inherits MgSystemException.

Inherited by MgArgumentOutOfRangeException, and MgIndexOutOfRangeException.

List of all members.

## 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.

Comments or suggestions? Send us feedback.