Package org.springframework.jmx
Class 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
- All Implemented Interfaces:
Serializable
Exception thrown when we cannot locate an instance of an
MBeanServer
,
or when more than one instance is found.- Since:
- 1.2
- Author:
- Rob Harrop, Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a newMBeanServerNotFoundException
with the supplied error message.MBeanServerNotFoundException
(String msg, Throwable cause) Create a newMBeanServerNotFoundException
with the specified error message and root cause. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MBeanServerNotFoundException
Create a newMBeanServerNotFoundException
with the supplied error message.- Parameters:
msg
- the error message
-
MBeanServerNotFoundException
Create a newMBeanServerNotFoundException
with the specified error message and root cause.- Parameters:
msg
- the error messagecause
- the root cause
-