KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > awt > IllegalComponentStateException


1 /*
2  * @(#)IllegalComponentStateException.java 1.12 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 java.awt;
9
10 /**
11  * Signals that an AWT component is not in an appropriate state for
12  * the requested operation.
13  *
14  * @version 1.12, 12/19/03
15  * @author Jonni Kanerva
16  */

17 public class IllegalComponentStateException extends IllegalStateException JavaDoc {
18     /*
19      * JDK 1.1 serialVersionUID
20      */

21      private static final long serialVersionUID = -1889339587208144238L;
22
23     /**
24      * Constructs an IllegalComponentStateException with no detail message.
25      * A detail message is a String that describes this particular exception.
26      */

27     public IllegalComponentStateException() {
28     super();
29     }
30
31     /**
32      * Constructs an IllegalComponentStateException with the specified detail
33      * message. A detail message is a String that describes this particular
34      * exception.
35      * @param s the String that contains a detailed message
36      */

37     public IllegalComponentStateException(String JavaDoc s) {
38     super(s);
39     }
40 }
41
Popular Tags