public class ReflectiveOperationException extends 异常
LinkageError
,
Serialized Form
Constructor and Description |
---|
ReflectiveOperationException()
构建与
null 新异常的详细信息。
|
ReflectiveOperationException(String message)
用指定的详细信息构造一个新的异常。
|
ReflectiveOperationException(String message, Throwable cause)
用指定的详细信息构造一个新的异常和原因。
|
ReflectiveOperationException(Throwable cause)
构建与指定的原因和
(cause==null ? null : cause.toString()) 详细信息新的异常(通常包含
cause 类和详细信息)。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ReflectiveOperationException()
null
新异常的详细信息。原因是没有初始化,初始化,随后可通过调用
Throwable.initCause(java.lang.Throwable)
。
public ReflectiveOperationException(String message)
Throwable.initCause(java.lang.Throwable)
。
message
-详细信息。的详细信息保存为以后的
Throwable.getMessage()
方法检索。
public ReflectiveOperationException(String message, Throwable cause)
值得注意的是,与cause
的详细信息不会自动纳入该异常的详细信息。
message
的详细信息(这是以后的
Throwable.getMessage()
方法检索)。
cause
的原因(这是以后的
Throwable.getCause()
方法检索)。(一
null
值是允许的,并指出原因是不存在的或未知的。)
public ReflectiveOperationException(Throwable cause)
(cause==null ? null : cause.toString())
详细信息新的异常(通常包含
cause
类和详细信息)。
cause
的原因(这是以后的
Throwable.getCause()
方法检索)。(一
null
值是允许的,并指出原因是不存在的或未知的。)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.