1 |
/* IllegalComponentStateException.java -- Bad component state |
/* IllegalComponentStateException.java -- bad component state |
2 |
Copyright (C) 1999 Free Software Foundation, Inc. |
Copyright (C) 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
39 |
package java.awt; |
package java.awt; |
40 |
|
|
41 |
/** |
/** |
42 |
* This exception is thrown when the requested operation failed because |
* This exception is thrown when the requested operation failed because |
43 |
* a component was not in the proper state. |
* a component was not in the proper state. |
44 |
* |
* |
45 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn <arenn@urbanophile.com> |
46 |
*/ |
* @status updated to 1.4 |
47 |
|
*/ |
48 |
public class IllegalComponentStateException extends IllegalStateException |
public class IllegalComponentStateException extends IllegalStateException |
49 |
{ |
{ |
50 |
|
/** |
51 |
/** |
* Compatible with JDK 1.0+. |
52 |
* Initializes a new instance of <code>IllegalComponentStateException</code> |
*/ |
53 |
* with the specified detailed error message. |
private static final long serialVersionUID = -1889339587208144238L; |
54 |
* |
|
55 |
* @param message The detailed error message. |
/** |
56 |
*/ |
* Create a new instance with no detailed error message. |
57 |
public |
*/ |
58 |
IllegalComponentStateException(String message) |
public IllegalComponentStateException() |
59 |
{ |
{ |
60 |
super(message); |
} |
61 |
} |
|
62 |
|
/** |
63 |
/*************************************************************************/ |
* Create a new instance with the specified detailed error message. |
64 |
|
* |
65 |
/** |
* @param message the detailed error message |
66 |
* Initializes a new instance of <code>IllegalComponentStateException</code> |
*/ |
67 |
* with no detailed error message. |
public IllegalComponentStateException(String message) |
68 |
*/ |
{ |
69 |
public |
super(message); |
70 |
IllegalComponentStateException() |
} |
|
{ |
|
|
super(); |
|
|
} |
|
|
|
|
71 |
} // class IllegalComponentStateException |
} // class IllegalComponentStateException |
|
|
|