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.
Constructor: |
public MBeanException(Exception e) {
super() ;
exception = e ;
}
Creates an MBeanException that wraps the actual java.lang.Exception . Parameters:
e - the wrapped exception.
|
public MBeanException(Exception e,
String message) {
super(message) ;
exception = e ;
}
Creates an MBeanException that wraps the actual java.lang.Exception with
a detail message. Parameters:
e - the wrapped exception.
message - the detail message.
|
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 |