1. /*
  2. * @(#)IllegalComponentStateException.java 1.11 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt;
  8. /**
  9. * Signals that an AWT component is not in an appropriate state for
  10. * the requested operation.
  11. *
  12. * @version 1.11, 01/23/03
  13. * @author Jonni Kanerva
  14. */
  15. public class IllegalComponentStateException extends IllegalStateException {
  16. /*
  17. * JDK 1.1 serialVersionUID
  18. */
  19. private static final long serialVersionUID = -1889339587208144238L;
  20. /**
  21. * Constructs an IllegalComponentStateException with no detail message.
  22. * A detail message is a String that describes this particular exception.
  23. */
  24. public IllegalComponentStateException() {
  25. super();
  26. }
  27. /**
  28. * Constructs an IllegalComponentStateException with the specified detail
  29. * message. A detail message is a String that describes this particular
  30. * exception.
  31. * @param s the String that contains a detailed message
  32. */
  33. public IllegalComponentStateException(String s) {
  34. super(s);
  35. }
  36. }