Package java.lang |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public class java.lang.IndexOutOfBoundsException extends java.lang.RuntimeException { // Constructors public IndexOutOfBoundsException(); public IndexOutOfBoundsException(String s); }
Instances of this class are thrown indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
Applications can subclass this class to indicate similar exceptions.
public IndexOutOfBoundsException()Constructs an IndexOutOfBoundsException with no detail message.
public IndexOutOfBoundsException(String s)Constructs a IndexOutOfBoundsException with the specified detail message.
Parameter Description s the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.