Serializablepublic class OutOfBoundsException extends RuntimeException
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
private static long |
serialVersionUID |
| 构造器 | 说明 |
|---|---|
OutOfBoundsException() |
Constructs an
OutOfBoundsException with null
as its error detail message. |
OutOfBoundsException(Number value) |
Constructs a new
OutOfBoundsException class with an
argument indicating the illegal value. |
OutOfBoundsException(Number value,
String message) |
Constructs a new
OutOfBoundsException class with an
argument indicating the illegal value. |
OutOfBoundsException(String message) |
Constructs an
OutOfBoundsException with the specified detail message. |
OutOfBoundsException(String message,
Throwable cause) |
Constructs an
OutOfBoundsException with the specified detail message
and cause. |
OutOfBoundsException(Throwable cause) |
Constructs an
OutOfBoundsException with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause). |
private static final long serialVersionUID
public OutOfBoundsException()
OutOfBoundsException with null
as its error detail message.public OutOfBoundsException(String message)
OutOfBoundsException with the specified detail message.message - The detail message (which is saved for later retrieval
by the Throwable.getMessage() method)public OutOfBoundsException(String message, Throwable cause)
OutOfBoundsException with the specified detail message
and cause.message - The detail message (which is saved for later retrieval
by the Throwable.getMessage() method)cause - The cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)public OutOfBoundsException(Throwable cause)
OutOfBoundsException with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause).cause - The cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)public OutOfBoundsException(Number value)
OutOfBoundsException class with an
argument indicating the illegal value.
The value is included in this exception's detail message. The exact presentation format of the detail message is unspecified.
value - the illegal value.public OutOfBoundsException(Number value, String message)
OutOfBoundsException class with an
argument indicating the illegal value.
The value is included in this exception's detail message. The exact presentation format of the detail message is unspecified.
value - the illegal value.message - The detail messageCopyright © 2023 io-fairy. All rights reserved.