public class ReflectionException extends JMException
| Constructor and Description |
|---|
ReflectionException(异常 e)
创建一个
ReflectionException包裹实际的
java.lang.Exception 。
|
ReflectionException(异常 e, String message)
创建一个
ReflectionException ,它将实际的
java.lang.Exception包含一条详细消息。
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
返回实际 异常抛出。
|
异常 |
getTargetException()
返回实际投掷的 异常 。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ReflectionException(异常 e)
ReflectionException包裹实际的
java.lang.Exception 。
e - 包装异常。
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.