|
|||||||||||
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.RuntimeOperationsException
Wraps runtime exceptions thrown when performing operations on MBeans.
Revisions:
20020313 Juha Lindfors:
20020711 Adrian Brock:
Constructor Summary | |
RuntimeOperationsException(RuntimeException e)
Construct a new RuntimeOperationsException from a given runtime exception. |
|
RuntimeOperationsException(RuntimeException e,
String message)
Construct a new RuntimeOperationsException from a given runtime exception and message. |
Method Summary | |
Throwable |
getCause()
Retrieves the wrapped runtime exception. |
RuntimeException |
getTargetException()
Retrieves the wrapped runtime exception. |
void |
printStackTrace(PrintStream stream)
Prints the composite message and the embedded stack trace to the specified print stream. |
String |
toString()
Returns a string representation of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RuntimeOperationsException(RuntimeException e)
e
- the runtime exception to wrap.public RuntimeOperationsException(RuntimeException e, String message)
e
- the runtime exception to wrap.message
- the specified message.Method Detail |
public RuntimeException getTargetException()
public Throwable getCause()
public void printStackTrace(PrintStream stream)
stream
- Stream to print to.public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |