javax.management
public class MBeanException extends JMException
Since: 1.5
| Constructor Summary | |
|---|---|
| MBeanException(Exception e)
Constructs a new MBeanException wrapping
the specified exception.
| |
| MBeanException(Exception e, String message)
Constructs a new MBeanException wrapping
the specified exception and using the supplied message.
| |
| Method Summary | |
|---|---|
| Throwable | getCause()
Returns the true cause of this exception, the wrapped
exception.
|
| Exception | getTargetException()
Returns the true cause of this exception, the wrapped
exception.
|
MBeanException wrapping
the specified exception.
Parameters: e the exception to be wrapped.
MBeanException 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.