home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1998 February / VPR9802A.ISO / APP_DEMO / VC / MAIN.BIN / IllegalComponentStateException.java < prev    next >
Text File  |  1997-10-27  |  2KB  |  56 lines

  1. /*
  2.  * @(#)IllegalComponentStateException.java    1.3 97/01/27
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22.  
  23. package java.awt;
  24.  
  25. /**
  26.  * Signals that an AWT component is not in an appropriate state for
  27.  * the requested operation.
  28.  *
  29.  * @version     1.3, 01/27/97
  30.  * @author    Jonni Kanerva
  31.  */
  32. public class IllegalComponentStateException extends IllegalStateException {
  33.     /*
  34.      * JDK 1.1 serialVersionUID 
  35.      */
  36.      private static final long serialVersionUID = -1889339587208144238L;
  37.  
  38.     /**
  39.      * Constructs an IllegalComponentStateException with no detail message.
  40.      * A detail message is a String that describes this particular exception.
  41.      */
  42.     public IllegalComponentStateException() {
  43.     super();
  44.     }
  45.  
  46.     /**
  47.      * Constructs an IllegalComponentStateException with the specified detail
  48.      * message.  A detail message is a String that describes this particular
  49.      * exception.
  50.      * @param s the String that contains a detailed message
  51.      */
  52.     public IllegalComponentStateException(String s) {
  53.     super(s);
  54.     }
  55. }
  56.