KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > config > MBeanConfigInstanceNotFoundException


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /*
25  * $Id: MBeanConfigInstanceNotFoundException.java,v 1.3 2005/12/25 03:47:30 tcfujii Exp $
26  * @author: alexkrav
27  *
28  * $Log: MBeanConfigInstanceNotFoundException.java,v $
29  * Revision 1.3 2005/12/25 03:47:30 tcfujii
30  * Updated copyright text and year.
31  *
32  * Revision 1.2 2005/06/27 21:19:41 tcfujii
33  * Issue number: CDDL header updates.
34  *
35  * Revision 1.1.1.1 2005/05/27 22:52:02 dpatil
36  * GlassFish first drop
37  *
38  * Revision 1.3 2004/11/14 07:04:17 tcfujii
39  * Updated copyright text and/or year.
40  *
41  * Revision 1.2 2004/02/20 03:56:08 qouyang
42  *
43  *
44  * First pass at code merge.
45  *
46  * Details for the merge will be published at:
47  * http://javaweb.sfbay.sun.com/~qouyang/workspace/PE8FCSMerge/02202004/
48  *
49  * Revision 1.1.4.1 2004/02/02 07:25:14 tcfujii
50  * Copyright updates notices; reviewer: Tony Ng
51  *
52  * Revision 1.1 2003/09/16 23:19:11 kravtch
53  * Bug #4923642
54  * reviewer: Abhijit
55  * Special MBeanConfigInstanceNotFoundException will be thrown by getXXX()/getXXXbyYYY(name) operations, returning ObjectName in case if correspondent element in domain.xml does not exist.
56  * This exception will be handled specifically on GUI invoke() operation. So, this exception should not be used for other cases (thrown or extended).
57  *
58  *
59  *
60 */

61
62 package com.sun.enterprise.admin.config;
63
64 // This Exception can be ONLY (!!!!) for getXXX()/getXXXbyYYY(name) operation returning ObjectName
65
// GUI uses its type to special treatment
66
// please contact GUI team before using it (throw or extend)
67
public class MBeanConfigInstanceNotFoundException extends MBeanConfigException
68 {
69     /**
70         Creates new <code>MBeanConfigException</code> without detail message.
71     */

72     
73     public MBeanConfigInstanceNotFoundException()
74     {
75         super();
76     }
77
78
79     /**
80         Constructs an <code>MBeanConfigException</code> with the specified detail message.
81         @param msg the detail message.
82     */

83     public MBeanConfigInstanceNotFoundException(String JavaDoc msg)
84     {
85         super(msg);
86     }
87 }
88
Popular Tags