|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.management.JMException javax.management.ReflectionException
Thrown by the MBeanServer when an exception occurs using the java.lang.reflect package to invoke methods on MBeans.
Revisions:
20020313 Juha Lindfors:
20020711 Adrian Brock:
Constructor Summary | |
ReflectionException(Exception e)
Construct a new ReflectionException from a given exception. |
|
ReflectionException(Exception e,
String message)
Construct a new ReflectionException from a given exception and message. |
Method Summary | |
Throwable |
getCause()
Retrieves the wrapped exception. |
Exception |
getTargetException()
Retrieves the wrapped exception. |
String |
toString()
Returns a string representation of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReflectionException(Exception e)
e
- the exception to wrap.public ReflectionException(Exception e, String message)
e
- the exception to wrap.message
- the specified message.Method Detail |
public Exception getTargetException()
public Throwable getCause()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |