1. /*
  2. * @(#)IllegalComponentStateException.java 1.9 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt;
  11. /**
  12. * Signals that an AWT component is not in an appropriate state for
  13. * the requested operation.
  14. *
  15. * @version 1.9, 02/02/00
  16. * @author Jonni Kanerva
  17. */
  18. public class IllegalComponentStateException extends IllegalStateException {
  19. /*
  20. * JDK 1.1 serialVersionUID
  21. */
  22. private static final long serialVersionUID = -1889339587208144238L;
  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. * Constructs an IllegalComponentStateException with the specified detail
  32. * message. A detail message is a String that describes this particular
  33. * exception.
  34. * @param s the String that contains a detailed message
  35. */
  36. public IllegalComponentStateException(String s) {
  37. super(s);
  38. }
  39. }