|
||||||||||
| 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.MBeanException
A wrapper for exceptions thrown by MBeans.
| Constructor Summary | |
MBeanException(java.lang.Exception exception)
Construct a new MBeanException from a given exception. |
|
MBeanException(java.lang.Exception exception,
java.lang.String message)
Construct a new MBeanException 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 MBeanException(java.lang.Exception exception)
exception - the exception to wrap.
public MBeanException(java.lang.Exception exception,
java.lang.String message)
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 | |||||||||