public class IndexOutOfBoundsException extends RuntimeException
Applications can subclass this class to indicate similar exceptions.
| Constructor and Description |
|---|
IndexOutOfBoundsException()
Constructs an
IndexOutOfBoundsException with no
detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException with the
specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, toStringpublic IndexOutOfBoundsException()
IndexOutOfBoundsException with no
detail message.public IndexOutOfBoundsException(String s)
IndexOutOfBoundsException with the
specified detail message.s - the detail message.Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.