Serializablepublic class UnexpectedParameterException extends RuntimeException
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
private static long |
serialVersionUID |
| 构造器 | 说明 |
|---|---|
UnexpectedParameterException() |
Constructs an
UnexpectedParameterException with null
as its error detail message. |
UnexpectedParameterException(String message) |
Constructs an
UnexpectedParameterException with the specified detail message. |
UnexpectedParameterException(String message,
Throwable cause) |
Constructs an
UnexpectedParameterException with the specified detail message
and cause. |
UnexpectedParameterException(Throwable cause) |
Constructs an
UnexpectedParameterException 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 UnexpectedParameterException()
UnexpectedParameterException with null
as its error detail message.public UnexpectedParameterException(String message)
UnexpectedParameterException with the specified detail message.message - The detail message (which is saved for later retrieval
by the Throwable.getMessage() method)public UnexpectedParameterException(String message, Throwable cause)
UnexpectedParameterException 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 UnexpectedParameterException(Throwable cause)
UnexpectedParameterException 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.)Copyright © 2021. All rights reserved.