javax.management
public class RuntimeMBeanException extends JMRuntimeException
Since: 1.5
Constructor Summary | |
---|---|
RuntimeMBeanException(RuntimeException e)
Constructs a new RuntimeMBeanException wrapping
the specified exception.
| |
RuntimeMBeanException(RuntimeException e, String message)
Constructs a new RuntimeMBeanException wrapping
the specified exception and using the supplied message.
|
Method Summary | |
---|---|
Throwable | getCause()
Returns the true cause of this exception, the wrapped runtime
exception.
|
RuntimeException | getTargetException()
Returns the true cause of this exception, the wrapped runtime
exception.
|
RuntimeMBeanException
wrapping
the specified exception.
Parameters: e the exception to be wrapped.
RuntimeMBeanException
wrapping
the specified exception and using the supplied message.
Parameters: e the exception to be wrapped. message the error message to give to the user.
Returns: the wrapped exception.
Returns: the wrapped exception.