The Spring Framework

org.springframework.jmx
Class JmxException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidMetadataException, InvocationFailureException, MBeanExportException, MBeanInfoRetrievalException, MBeanServerNotFoundException, UnableToSendNotificationException

public class JmxException
extends NestedRuntimeException

General base exception to be thrown on JMX errors. Unchecked since JMX failures are usually fatal.

Since:
2.0
Author:
Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
JmxException(String msg)
          Constructor for JmxException.
JmxException(String msg, Throwable cause)
          Constructor for JmxException.
 
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

JmxException

public JmxException(String msg)
Constructor for JmxException.

Parameters:
msg - the detail message

JmxException

public JmxException(String msg,
                    Throwable cause)
Constructor for JmxException.

Parameters:
msg - the detail message
cause - the root cause (usually a raw JMX API exception)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.