|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.management.JMException
javax.management.ReflectionException
public class ReflectionException
表示在使用 java.lang.reflect 類別調用 MBean 上的方法時,MBean 伺服器中拋出的異常。它可以“包裹”拋出的實際 java.lang.Exception。
| 建構子摘要 | |
|---|---|
ReflectionException(Exception e)
創建包裹實際 java.lang.Exception 的 ReflectionException。 |
|
ReflectionException(Exception e,
String message)
創建包裹帶有詳細訊息的實際 java.lang.Exception 的 ReflectionException。 |
|
| 方法摘要 | |
|---|---|
Throwable |
getCause()
返回拋出的實際 Exception。 |
Exception |
getTargetException()
返回拋出的實際 Exception。 |
| 從類別 java.lang.Throwable 繼承的方法 |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public ReflectionException(Exception e)
java.lang.Exception 的 ReflectionException。
e - 套件裝的異常。
public ReflectionException(Exception e,
String message)
java.lang.Exception 的 ReflectionException。
e - 套件裝的異常。message - 詳細訊息。| 方法詳細資訊 |
|---|
public Exception getTargetException()
Exception。
Exception。public Throwable getCause()
Exception。
Throwable 中的 getCauseException。
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。