MBeanRegistrationException.java :  » JMX » jfoxmx » javax » management » Java Open Source

Java Open Source » JMX » jfoxmx 
jfoxmx » javax » management » MBeanRegistrationException.java
/* JFox, the OpenSource J2EE Application Server
 *
 * Copyright (C) 2002 huihoo.org
 * Distributable under GNU LGPL license
 * See the GNU Lesser General Public License for more details.
 */

package javax.management;

/**
 * Wraps exceptions thrown by the preRegister(), preDeregister() methods
 * of the <CODE>MBeanRegistration</CODE> interface.
 *
 * @author <a href="mailto:young_yy@hotmail.org">Young Yang</a>
 */

public class MBeanRegistrationException extends MBeanException   {

  /**
   * Creates an <CODE>MBeanRegistrationException</CODE> that wraps the actual <CODE>java.lang.Exception</CODE>.
   */
  public MBeanRegistrationException(Exception e) {
    super(e) ;
  }

  /**
   * Creates an <CODE>MBeanRegistrationException<CODE> that wraps the actual <CODE>java.lang.Exception</CODE> with
   * a detailed message.
   */
  public MBeanRegistrationException(Exception e, String message) {
    super(e, message) ;
  }
}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.