01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.org
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package javax.management;
09:
10: /**
11: * Wraps exceptions thrown by the preRegister(), preDeregister() methods
12: * of the <CODE>MBeanRegistration</CODE> interface.
13: *
14: * @author <a href="mailto:young_yy@hotmail.org">Young Yang</a>
15: */
16:
17: public class MBeanRegistrationException extends MBeanException {
18:
19: /**
20: * Creates an <CODE>MBeanRegistrationException</CODE> that wraps the actual <CODE>java.lang.Exception</CODE>.
21: */
22: public MBeanRegistrationException(Exception e) {
23: super (e);
24: }
25:
26: /**
27: * Creates an <CODE>MBeanRegistrationException<CODE> that wraps the actual <CODE>java.lang.Exception</CODE> with
28: * a detailed message.
29: */
30: public MBeanRegistrationException(Exception e, String message) {
31: super(e, message);
32: }
33: }
|