| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception javax.management.JMException javax.management.ReflectionException
ReflectionException | public class ReflectionException extends JMException (Code) | | Thrown by the MBeanServer when an exception occurs using the
java.lang.reflect package to invoke methods on MBeans.
author: Juha Lindfors. author: Adrian Brock version: $Revision: 57200 $ version: Revisions: version: 20020313 Juha Lindfors: version: version: - Overriding toString() to print out the root exception
version:
version: 20020711 Adrian Brock: version: version: - Serialization
version:
|
ReflectionException | public ReflectionException(Exception e)(Code) | | Construct a new ReflectionException from a given exception.
Parameters: e - the exception to wrap. |
ReflectionException | public ReflectionException(Exception e, String message)(Code) | | Construct a new ReflectionException from a given exception and message.
Parameters: e - the exception to wrap. Parameters: message - the specified message. |
getCause | public Throwable getCause()(Code) | | Retrieves the wrapped exception.
the wrapped exception. |
getTargetException | public Exception getTargetException()(Code) | | Retrieves the wrapped exception.
the wrapped exception. |
toString | public String toString()(Code) | | Returns a string representation of this exception. The returned string
contains this exception name, message and a string representation of the
target exception if it has been set.
string representation of this exception |
|
|
|