java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.management.JMRuntimeException
javax.management.RuntimeOperationsException
- 所有已实现的接口:
-
Serializable
代表在代理程序上执行MBeans操作时抛出的运行时异常。它包装了实际抛出的
java.lang.RuntimeException。
- 自 JDK 版本:
- 1.5
- 参见:
-
Constructor Summary
ConstructorsConstructorDescription创建一个包装实际java.lang.RuntimeException的RuntimeOperationsException。RuntimeOperationsException(RuntimeException e, String message) 创建一个带有详细消息的包装实际java.lang.RuntimeException的RuntimeOperationsException。 -
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuntimeOperationsException
创建一个包装实际java.lang.RuntimeException的RuntimeOperationsException。- 参数:
-
e- 被包装的异常。
-
RuntimeOperationsException
创建一个带有详细消息的包装实际java.lang.RuntimeException的RuntimeOperationsException。- 参数:
-
e- 被包装的异常。 -
message- 详细消息。
-
-
Method Details
-
getTargetException
返回实际抛出的RuntimeException。- 返回:
-
包装的
RuntimeException。
-
getCause
返回实际抛出的RuntimeException。- 覆盖:
-
getCause在类Throwable - 返回:
-
包装的
RuntimeException。
-