javax.management
public class: RuntimeMBeanException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.management.JMRuntimeException
javax.management.RuntimeMBeanException
All Implemented Interfaces:
Serializable
Represents runtime exceptions thrown by MBean methods in
the agent. It "wraps" the actual
java.lang.RuntimeException exception thrown.
This exception will be built by the MBeanServer when a call to an
MBean method throws a runtime exception.
| Constructor: |
public RuntimeMBeanException(RuntimeException e) {
super() ;
runtimeException = e ;
}
Creates a RuntimeMBeanException that wraps the actual java.lang.RuntimeException. Parameters:
e - the wrapped exception.
|
public RuntimeMBeanException(RuntimeException e,
String message) {
super(message) ;
runtimeException = e ;
}
Creates a RuntimeMBeanException that wraps the actual java.lang.RuntimeException with
a detailed message. Parameters:
e - the wrapped exception.
message - the detail message.
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |