AWTError.java: Extend Error, not IllegalStateException.
* java/awt/AWTError.java: Extend Error, not IllegalStateException. From-SVN: r37987
This commit is contained in:
parent
611b1df48a
commit
c06093a0a3
2 changed files with 9 additions and 6 deletions
|
@ -8,16 +8,16 @@ details. */
|
|||
|
||||
package java.awt;
|
||||
|
||||
/**
|
||||
/** An exception of this type is thrown by AWT in some situations,
|
||||
* usually when major problems are encountered.
|
||||
* @author Tom Tromey <tromey@cygnus.com>
|
||||
* @date April 8, 2000
|
||||
*/
|
||||
|
||||
/* Status: Believed complete and correct to JDK 1.2. */
|
||||
|
||||
|
||||
public class AWTError extends IllegalStateException
|
||||
public class AWTError extends Error
|
||||
{
|
||||
/** Make a new instance of AWTError
|
||||
* @param s Text associated with the exception
|
||||
*/
|
||||
public AWTError (String s)
|
||||
{
|
||||
super (s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue