KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > management > MBeanRegistrationException


1 /*
2  * @(#)MBeanRegistrationException.java 4.16 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.management;
9
10
11 /**
12  * Wraps exceptions thrown by the preRegister(), preDeregister() methods
13  * of the <CODE>MBeanRegistration</CODE> interface.
14  *
15  * @since 1.5
16  */

17 public class MBeanRegistrationException extends MBeanException JavaDoc {
18     
19     /* Serial version */
20     private static final long serialVersionUID = 4482382455277067805L;
21
22     /**
23      * Creates an <CODE>MBeanRegistrationException</CODE> that wraps
24      * the actual <CODE>java.lang.Exception</CODE>.
25      *
26      * @param e the wrapped exception.
27      */

28     public MBeanRegistrationException(java.lang.Exception JavaDoc e) {
29     super(e) ;
30     }
31
32     /**
33      * Creates an <CODE>MBeanRegistrationException</CODE> that wraps
34      * the actual <CODE>java.lang.Exception</CODE> with a detailed
35      * message.
36      *
37      * @param e the wrapped exception.
38      * @param message the detail message.
39      */

40     public MBeanRegistrationException(java.lang.Exception JavaDoc e, String JavaDoc message) {
41     super(e, message) ;
42     }
43 }
44
Popular Tags