org.springframework.jmx

Class MBeanServerNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable


    public class MBeanServerNotFoundException
    extends JmxException
    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:
    JmxUtils.locateMBeanServer(), Serialized Form
    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MBeanServerNotFoundException

        public MBeanServerNotFoundException(java.lang.String msg)
        Create a new MBeanServerNotFoundException with the supplied error message.
        Parameters:
        msg - the error message
      • MBeanServerNotFoundException

        public MBeanServerNotFoundException(java.lang.String msg,
                                            java.lang.Throwable cause)
        Create a new MBeanServerNotFoundException with the specified error message and root cause.
        Parameters:
        msg - the error message
        cause - the root cause