javax.management
Class MBeanRegistrationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.management.JMException
                    |
                    +--javax.management.MBeanException
                          |
                          +--javax.management.MBeanRegistrationException

public class MBeanRegistrationException
extends MBeanException

This class wraps exceptions thrown by the preRegister(), preDeregister() methods of the MBeanRegistration interface.

See Also:
Serialized Form

Constructor Summary
MBeanRegistrationException(java.lang.Exception ex)
          Creates an MBeanRegistrationException that wraps the actual java.lang.Exception.
MBeanRegistrationException(java.lang.Exception ex, java.lang.String message)
          Creates an MBeanRegistrationException that wraps the actual java.lang.Exception with a detailed message.
 
Methods inherited from class javax.management.MBeanException
getCause, getTargetException, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanRegistrationException

public MBeanRegistrationException(java.lang.Exception ex)
Creates an MBeanRegistrationException that wraps the actual java.lang.Exception.
Parameters:
ex - Exception to be wraped by MBeanRegistrationException

MBeanRegistrationException

public MBeanRegistrationException(java.lang.Exception ex,
                                  java.lang.String message)
Creates an MBeanRegistrationException that wraps the actual java.lang.Exception with a detailed message.
Parameters:
ex - Exception to be wraped by MBeanRegistrationException
message - The detail message