- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.management.JMException
-
- javax.management.MBeanException
-
- javax.management.MBeanRegistrationException
-
- All Implemented Interfaces:
-
Serializable
public class MBeanRegistrationException extends MBeanException
包装由preRegister(),preDeregister()方法抛出的异常MBeanRegistration
接口。- 从以下版本开始:
- 1.5
- 另请参见:
- Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 MBeanRegistrationException(异常 e)
创建一个MBeanRegistrationException
,包裹实际的java.lang.Exception
。MBeanRegistrationException(异常 e, String message)
创建一个MBeanRegistrationException
,其中包含了实际的java.lang.Exception
详细消息。
-
方法摘要
-
Methods inherited from class javax.management.MBeanException
getCause, getTargetException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
MBeanRegistrationException
public MBeanRegistrationException(异常 e)
创建一个MBeanRegistrationException
包裹实际的java.lang.Exception
。- 参数
-
e
- 包装异常。
-
-