1 /* 2 * @(#)IllegalPathStateException.java 1.12 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package java.awt.geom; 9 10 /** 11 * The <code>IllegalPathStateException</code> represents an 12 * exception that is thrown if an operation is performed on a path 13 * that is in an illegal state with respect to the particular 14 * operation being performed, such as appending a path segment 15 * to a {@link GeneralPath} without an initial moveto. 16 * 17 * @version 1.12, 12/19/03 18 */ 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 /** 31 * Constructs an <code>IllegalPathStateException</code> with the 32 * specified detail message. 33 * @param s the detail message 34 * @since 1.2 35 */ 36 public IllegalPathStateException(String s) { 37 super (s); 38 } 39 } 40