1 |
/* Copyright (C) 2000, 2002 Free Software Foundation |
/* IllegalPathStateException.java -- an operation was in an illegal path state |
2 |
|
Copyright (C) 2000, 2002 Free Software Foundation |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
38 |
package java.awt.geom; |
package java.awt.geom; |
39 |
|
|
40 |
/** |
/** |
41 |
|
* Thrown when an operation on a path is in an illegal state, such as appending |
42 |
|
* a segment to a <code>GeneralPath</code> without an initial moveto. |
43 |
|
* |
44 |
* @author Tom Tromey <tromey@cygnus.com> |
* @author Tom Tromey <tromey@cygnus.com> |
45 |
* @date July 17, 2000 |
* @see GeneralPath |
46 |
|
* @status updated to 1.4 |
47 |
*/ |
*/ |
|
|
|
48 |
public class IllegalPathStateException extends RuntimeException |
public class IllegalPathStateException extends RuntimeException |
49 |
{ |
{ |
50 |
public IllegalPathStateException () |
/** |
51 |
|
* Compatible with JDK 1.2+. |
52 |
|
*/ |
53 |
|
private static final long serialVersionUID = -5158084205220481094L; |
54 |
|
|
55 |
|
/** |
56 |
|
* Create an exception with no message. |
57 |
|
*/ |
58 |
|
public IllegalPathStateException() |
59 |
{ |
{ |
|
super (); |
|
60 |
} |
} |
61 |
|
|
62 |
public IllegalPathStateException (String msg) |
/** |
63 |
|
* Create an exception with a message. |
64 |
|
* |
65 |
|
* @param msg the message |
66 |
|
*/ |
67 |
|
public IllegalPathStateException(String msg) |
68 |
{ |
{ |
69 |
super (msg); |
super(msg); |
70 |
} |
} |
71 |
} |
} |