|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.management.JMRuntimeException
javax.management.RuntimeMBeanException
public class RuntimeMBeanException
Wraps runtime exceptions thrown by MBeans.
Revisions:
20020313 Juha Lindfors:
20020711 Adrian Brock:
| Constructor Summary | |
|---|---|
RuntimeMBeanException(RuntimeException e)
Construct a new RuntimeMBeanException from a given runtime exception. |
|
RuntimeMBeanException(RuntimeException e,
String message)
Construct a new RuntimeMBeanException from a given runtime exception and message. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Retrieves the wrapped runtime exception. |
RuntimeException |
getTargetException()
Retrieves the wrapped runtime 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 RuntimeMBeanException(RuntimeException e)
e - the runtime exception to wrap.
public RuntimeMBeanException(RuntimeException e,
String message)
e - the runtime exception to wrap.message - the specified message.| Method Detail |
|---|
public RuntimeException getTargetException()
public Throwable getCause()
getCause in class Throwablepublic String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||