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, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public IndexOutOfBoundsException()
IndexOutOfBoundsException
with no detail message.public IndexOutOfBoundsException(String s)
IndexOutOfBoundsException
with the specified detail message.s
- the detail message.