Home » openjdk-7 » javax » management » [javadoc | source]
javax.management
public class: MBeanException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         javax.management.JMException
            javax.management.MBeanException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    MBeanRegistrationException

Represents "user defined" exceptions thrown by MBean methods in the agent. It "wraps" the actual "user defined" exception thrown. This exception will be built by the MBeanServer when a call to an MBean method results in an unknown exception.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public MBeanException(Exception e) 
    Creates an MBeanException that wraps the actual java.lang.Exception.
    Parameters:
    e - the wrapped exception.
 public MBeanException(Exception e,
    String message) 
    Creates an MBeanException that wraps the actual java.lang.Exception with a detail message.
    Parameters:
    e - the wrapped exception.
    message - the detail message.
Method from javax.management.MBeanException Summary:
getCause,   getTargetException
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.management.MBeanException Detail:
 public Throwable getCause() 
 public Exception getTargetException()