|
|||||||||||
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.MBeanException
A wrapper for exceptions thrown by MBeans.
Revisions:
20020313 Juha Lindfors:
20020710 Adrian Brock:
Constructor Summary | |
MBeanException(Exception exception)
Construct a new MBeanException from a given exception. |
|
MBeanException(Exception exception,
String message)
Construct a new MBeanException 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 MBeanException(Exception exception)
exception
- the exception to wrap.public MBeanException(Exception exception, String message)
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 |