/[classpath]/classpath/java/awt/geom/IllegalPathStateException.java
ViewVC logotype

Diff of /classpath/java/awt/geom/IllegalPathStateException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.3 by ericb, Sun Feb 24 04:25:16 2002 UTC
# Line 1  Line 1 
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    
# Line 37  exception statement from your version. * Line 38  exception statement from your version. *
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  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26