|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.management.JMException (src)
javax.management.ReflectionException
Thrown by the MBeanServer when an exception occurs using the java.lang.reflect package to invoke methods on MBeans.
Constructor Summary | |
ReflectionException(java.lang.Exception e)
Construct a new ReflectionException from a given exception. |
|
ReflectionException(java.lang.Exception e,
java.lang.String message)
Construct a new ReflectionException from a given exception and message. |
Method Summary | |
java.lang.Throwable |
getCause()
Retrieves the wrapped exception. |
java.lang.Exception |
getTargetException()
Retrieves the wrapped exception. |
java.lang.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(java.lang.Exception e)
e
- the exception to wrap.public ReflectionException(java.lang.Exception e, java.lang.String message)
e
- the exception to wrap.message
- the specified message.Method Detail |
public java.lang.Exception getTargetException()
public java.lang.Throwable getCause()
public java.lang.String toString()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |