Package org.springframework.jmx.export
Class UnableToRegisterMBeanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.jmx.JmxException
org.springframework.jmx.export.MBeanExportException
org.springframework.jmx.export.UnableToRegisterMBeanException
- All Implemented Interfaces:
Serializable
Exception thrown when we are unable to register an MBean,
for example because of a naming conflict.
- Since:
- 2.0
- Author:
- Rob Harrop
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a newUnableToRegisterMBeanException
with the specified error message.UnableToRegisterMBeanException
(String msg, Throwable cause) Create a newUnableToRegisterMBeanException
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
-
UnableToRegisterMBeanException
Create a newUnableToRegisterMBeanException
with the specified error message.- Parameters:
msg
- the detail message
-
UnableToRegisterMBeanException
Create a newUnableToRegisterMBeanException
with the specified error message and root cause.- Parameters:
msg
- the detail messagecause
- the root cause
-