public class MBeanRegistrationException extends MBeanException
MBeanRegistrationException. Calling MBeanException.getTargetException()
will return the wrapped exception.| Constructor and Description |
|---|
MBeanRegistrationException(Exception e)
Constructs a new
MBeanRegistrationException wrapping
the specified exception. |
MBeanRegistrationException(Exception e,
String message)
Constructs a new
MBeanRegistrationException wrapping
the specified exception and using the supplied message. |
getCause, getTargetExceptionfillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MBeanRegistrationException(Exception e)
MBeanRegistrationException wrapping
the specified exception.e - the exception to be wrapped.public MBeanRegistrationException(Exception e, String message)
MBeanRegistrationException wrapping
the specified exception and using the supplied message.e - the exception to be wrapped.message - the error message to give to the user.