javax.management
public class: ReflectionException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.management.JMException
javax.management.ReflectionException
All Implemented Interfaces:
Serializable
Represents exceptions thrown in the MBean server when using the
java.lang.reflect classes to invoke methods on MBeans. It "wraps" the
actual java.lang.Exception thrown.
| Constructor: |
public ReflectionException(Exception e) {
super() ;
exception = e ;
}
Creates a ReflectionException that wraps the actual java.lang.Exception. Parameters:
e - the wrapped exception.
|
public ReflectionException(Exception e,
String message) {
super(message) ;
exception = e ;
}
Creates a ReflectionException 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: |
|---|
|
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 |