KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)InvalidKeyException.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 a method parameter which was expected to be
23  * an item name of a <i>composite data</i> or a row index of a <i>tabular data</i> is not valid.
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 InvalidKeyException
32     extends IllegalArgumentException JavaDoc
33     implements Serializable JavaDoc {
34
35     private static final long serialVersionUID = 4224269443946322062L;
36
37     /**
38      * An InvalidKeyException with no detail message.
39      */

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

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