public class IndexOutOfBoundsException extends RuntimeException
Constructor and Description |
---|
IndexOutOfBoundsException()
Constructs a new
IndexOutOfBoundsException that includes the
current stack trace. |
IndexOutOfBoundsException(String detailMessage)
Constructs a new
IndexOutOfBoundsException with the current stack
trace and the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IndexOutOfBoundsException()
IndexOutOfBoundsException
that includes the
current stack trace.public IndexOutOfBoundsException(String detailMessage)
IndexOutOfBoundsException
with the current stack
trace and the specified detail message.detailMessage
- the detail message for this exception.