org.springframework.jmx
Class MBeanServerNotFoundException

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.MBeanServerNotFoundException
All Implemented Interfaces:
Serializable

public class MBeanServerNotFoundException
extends NestedRuntimeException

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
MBeanServerNotFoundException(String msg)
          Create a new MBeanServerNotFoundException with the supplied error message.
MBeanServerNotFoundException(String msg, Throwable ex)
          Create a new MBeanServerNotFoundException with the specified error message and root cause.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, 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

MBeanServerNotFoundException

public MBeanServerNotFoundException(String msg)
Create a new MBeanServerNotFoundException with the supplied error message.

Parameters:
msg - the error message

MBeanServerNotFoundException

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

Parameters:
msg - the error message
ex - the root cause


Copyright (c) 2002-2006 The Spring Framework Project.