The Spring Framework

org.springframework.jmx.export
Class UnableToRegisterMBeanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.jmx.JmxException
                      extended by org.springframework.jmx.export.MBeanExportException
                          extended by org.springframework.jmx.export.UnableToRegisterMBeanException
All Implemented Interfaces:
Serializable

public class UnableToRegisterMBeanException
extends MBeanExportException

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:
Serialized Form

Constructor Summary
UnableToRegisterMBeanException(String msg)
          Create a new UnableToRegisterMBeanException with the specified error message.
UnableToRegisterMBeanException(String msg, Throwable cause)
          Create a new UnableToRegisterMBeanException with the specified error message and root cause.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnableToRegisterMBeanException

public UnableToRegisterMBeanException(String msg)
Create a new UnableToRegisterMBeanException with the specified error message.

Parameters:
msg - the detail message

UnableToRegisterMBeanException

public UnableToRegisterMBeanException(String msg,
                                      Throwable cause)
Create a new UnableToRegisterMBeanException with the specified error message and root cause.

Parameters:
msg - the detail message
cause - the root caus

The Spring Framework

Copyright © 2002-2007 The Spring Framework.