public class MBeanServerNotFoundException extends JmxException
MBeanServer
,
or when more than one instance is found.JmxUtils.locateMBeanServer()
,
Serialized FormConstructor and Description |
---|
MBeanServerNotFoundException(java.lang.String msg)
Create a new
MBeanServerNotFoundException with the
supplied error message. |
MBeanServerNotFoundException(java.lang.String msg,
java.lang.Throwable cause)
Create a new
MBeanServerNotFoundException with the
specified error message and root cause. |
contains, getMessage, getMostSpecificCause, getRootCause
public MBeanServerNotFoundException(java.lang.String msg)
MBeanServerNotFoundException
with the
supplied error message.msg
- the error messagepublic MBeanServerNotFoundException(java.lang.String msg, java.lang.Throwable cause)
MBeanServerNotFoundException
with the
specified error message and root cause.msg
- the error messagecause
- the root cause