Serializablepublic class IndexOutOfBoundsException extends RuntimeException
Applications can subclass this class to indicate similar exceptions.
| 构造器 | 说明 |
|---|---|
IndexOutOfBoundsException() |
Constructs an
IndexOutOfBoundsException with no
detail message. |
IndexOutOfBoundsException(String s) |
Constructs an
IndexOutOfBoundsException with the
specified detail message. |
public IndexOutOfBoundsException()
IndexOutOfBoundsException with no
detail message.public IndexOutOfBoundsException(String s)
IndexOutOfBoundsException with the
specified detail message.s - the detail message.