|
||||||||||
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
public class 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. |
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 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()
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 |