| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception javax.management.JMException javax.management.MBeanException
All known Subclasses: javax.management.MBeanRegistrationException,
MBeanException | public class MBeanException extends JMException (Code) | | A wrapper for exceptions thrown by MBeans.
author: Juha Lindfors author: Adrian Brock version: $Revision: 57200 $ version: Revisions: version: 20020313 Juha Lindfors: version: version: - Overriding toString() to print out the root exception
version:
version: 20020710 Adrian Brock: version: version: - Serialization
version:
|
MBeanException | public MBeanException(Exception exception)(Code) | | Construct a new MBeanException from a given exception.
Parameters: exception - the exception to wrap. |
MBeanException | public MBeanException(Exception exception, String message)(Code) | | Construct a new MBeanException from a given exception and message.
Parameters: e - the exception to wrap. Parameters: message - the specified message. |
getCause | public Throwable getCause()(Code) | | Retrieves the wrapped exception.
the wrapped exception. |
getTargetException | public Exception getTargetException()(Code) | | Retrieves the wrapped exception.
the wrapped exception. |
toString | public String toString()(Code) | | Returns a string representation of this exception. The returned string
contains this exception name, message and a string representation of the
target exception if it has been set.
string representation of this exception |
|
|
|