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
Constructs an
IndexOutOfBoundsException with the specified detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IndexOutOfBoundsException()
IndexOutOfBoundsException with no detail message.
public IndexOutOfBoundsException(Strings)
IndexOutOfBoundsException with the specified detail message.
s - the detail message.