public class IndexOutOfBoundsException extends RuntimeException
Applications can subclass this class to indicate similar exceptions.
| Constructor and Description | 
|---|
| IndexOutOfBoundsException()Constructs an  IndexOutOfBoundsExceptionwith no detail message. | 
| IndexOutOfBoundsException(String s)Constructs an  IndexOutOfBoundsExceptionwith the specified detail message. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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.