|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.management.JMException
javax.management.ReflectionException
public class 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()
getCause
in class Throwable
public String toString()
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |