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。
RuntimeException。