javax.management
public class RuntimeOperationsException extends JMRuntimeException
RuntimeOperationsException
. Calling
getTargetException()
will return the wrapped
exception.Constructor and Description |
---|
RuntimeOperationsException(RuntimeException e)
Constructs a new
RuntimeOperationsException
wrapping the specified exception. |
RuntimeOperationsException(RuntimeException e,
String message)
Constructs a new
RuntimeOperationsException
wrapping the specified exception and using the supplied
message. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the true cause of this exception, the wrapped
exception.
|
RuntimeException |
getTargetException()
Returns the true cause of this exception, the wrapped
exception.
|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RuntimeOperationsException(RuntimeException e)
RuntimeOperationsException
wrapping the specified exception.e
- the exception to be wrapped.public RuntimeOperationsException(RuntimeException e, String message)
RuntimeOperationsException
wrapping the specified exception and using the supplied
message.e
- the exception to be wrapped.message
- the error message to give to the user.public Throwable getCause()
public RuntimeException getTargetException()