KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > management > openmbean > KeyAlreadyExistsException


1 /*
2  * @(#)KeyAlreadyExistsException.java 3.17 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
9 package javax.management.openmbean;
10
11
12 // java import
13
//
14
import java.io.Serializable JavaDoc;
15
16
17 // jmx import
18
//
19

20
21 /**
22  * This runtime exception is thrown to indicate that the index of a row to be added to a <i>tabular data</i> instance
23  * is already used to refer to another row in this <i>tabular data</i> instance.
24  *
25  * @version 3.17 03/12/19
26  * @author Sun Microsystems, Inc.
27  *
28  * @since 1.5
29  * @since.unbundled JMX 1.1
30  */

31 public class KeyAlreadyExistsException
32     extends IllegalArgumentException JavaDoc
33     implements Serializable JavaDoc {
34
35     private static final long serialVersionUID = 1845183636745282866L;
36
37     /**
38      * A KeyAlreadyExistsException with no detail message.
39      */

40     public KeyAlreadyExistsException() {
41     super();
42     }
43
44     /**
45      * A KeyAlreadyExistsException with a detail message.
46      *
47      * @param msg the detail message.
48      */

49     public KeyAlreadyExistsException(String JavaDoc msg) {
50     super(msg);
51     }
52
53 }
54
Popular Tags