类 MBeanServerNotFoundException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.jmx.JmxException
- org.springframework.jmx.MBeanServerNotFoundException
- 所有已实现的接口:
Serializable
public class MBeanServerNotFoundException extends JmxException
Exception thrown when we cannot locate an instance of anMBeanServer
, or when more than one instance is found.- 从以下版本开始:
- 1.2
- 作者:
- Rob Harrop, Juergen Hoeller
- 另请参阅:
JmxUtils.locateMBeanServer()
, 序列化表格
构造器概要
构造器 构造器 说明 MBeanServerNotFoundException(String msg)
Create a newMBeanServerNotFoundException
with the supplied error message.MBeanServerNotFoundException(String msg, Throwable cause)
Create a newMBeanServerNotFoundException
with the specified error message and root cause.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
MBeanServerNotFoundException
public MBeanServerNotFoundException(String msg)
Create a newMBeanServerNotFoundException
with the supplied error message.- 参数:
msg
- the error message
MBeanServerNotFoundException
public MBeanServerNotFoundException(String msg, Throwable cause)
Create a newMBeanServerNotFoundException
with the specified error message and root cause.- 参数:
msg
- the error messagecause
- the root cause