IndexOutOfBoundsException Summary Represents an out-of-bounds index access exception. Description Represents an out-of-bounds index access exception. Examples Example of using this exception with existent types 123456789import System;import System.Exceptions; int[] emptyArray = [];int+ someElement = emptyArray[100];final bool elementDoesNotExist = undefined == someElement;if (elementDoesNotExist) { throw new IndexOutOfBoundsException();} Methods IndexOutOfBoundsException (Constructor)Constructs a System.Exceptions.IndexOutOfBoundsException object. Share HTML | BBCode | Direct Link