/* 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) ;
}
}
|