java.lang
Class IndexOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
- Direct Known Subclasses:
- ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException
public class IndexOutOfBoundsException
- extends RuntimeException
IndexOutOfBoundsException
public IndexOutOfBoundsException()
- Constructs an
IndexOutOfBoundsException
with no
detail message.
IndexOutOfBoundsException
public IndexOutOfBoundsException(String s)
- Constructs an
IndexOutOfBoundsException
class
with the specified detail message.
- Parameters:
s
- the detail message.