1. /*
  2. * @(#)IllegalPathStateException.java 1.9 00/02/02
  3. *
  4. * Copyright 1997-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.geom;
  11. /**
  12. * The <code>IllegalPathStateException</code> represents an
  13. * exception that is thrown if an operation is performed on a path
  14. * that is in an illegal state with respect to the particular
  15. * operation being performed, such as appending a path segment
  16. * to a {@link GeneralPath} without an initial moveto.
  17. *
  18. * @version 1.9, 02/02/00
  19. */
  20. public class IllegalPathStateException extends RuntimeException {
  21. /**
  22. * Constructs an <code>IllegalPathStateException</code> with no
  23. * detail message.
  24. *
  25. * @since 1.2
  26. */
  27. public IllegalPathStateException() {
  28. }
  29. /**
  30. * Constructs an <code>IllegalPathStateException</code> with the
  31. * specified detail message.
  32. * @param s the detail message
  33. * @since 1.2
  34. */
  35. public IllegalPathStateException(String s) {
  36. super (s);
  37. }
  38. }