Serializable
ArrayIndexOutOfBoundsException
StringIndexOutOfBoundsException
public class IndexOutOfBoundsException extends RuntimeException
Applications can subclass this class to indicate similar exceptions.
public IndexOutOfBoundsException()
IndexOutOfBoundsException
public IndexOutOfBoundsException​(String s)
s
public IndexOutOfBoundsException​(int index)
The index is included in this exception's detail message. The exact presentation format of the detail message is unspecified.
index
© 2018 Oracle Corporation and/or its affiliates