| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.management.JMRuntimeException
javax.management.RuntimeOperationsException
public class RuntimeOperationsException
表示在 MBean 上执行操作时代理中抛出的运行时异常。它包装抛出的实际 java.lang.RuntimeException。
| 构造方法摘要 | |
|---|---|
| RuntimeOperationsException(RuntimeException e)创建包装实际 java.lang.RuntimeException的RuntimeOperationsException。 | |
| RuntimeOperationsException(RuntimeException e,
                           String message)创建包装带有详细信息的实际 java.lang.RuntimeException的RuntimeOperationsException。 | |
| 方法摘要 | |
|---|---|
|  Throwable | getCause()返回抛出的实际 RuntimeException。 | 
|  RuntimeException | getTargetException()返回抛出的实际 RuntimeException。 | 
| 从类 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 RuntimeOperationsException(RuntimeException e)
java.lang.RuntimeException 的 RuntimeOperationsException。
e - 包装的异常。
public RuntimeOperationsException(RuntimeException e,
                                  String message)
java.lang.RuntimeException 的 RuntimeOperationsException。
e - 包装的异常。message - 详细消息。| 方法详细信息 | 
|---|
public RuntimeException getTargetException()
RuntimeException。
RuntimeException。public Throwable getCause()
RuntimeException。
Throwable 中的 getCauseRuntimeException。| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。