< prev index next >

src/java.desktop/share/classes/java/awt/geom/IllegalPathStateException.java

Print this page

        

@@ -24,11 +24,11 @@
  */
 
 package java.awt.geom;
 
 /**
- * The <code>IllegalPathStateException</code> represents an
+ * The {@code IllegalPathStateException} represents an
  * exception that is thrown if an operation is performed on a path
  * that is in an illegal state with respect to the particular
  * operation being performed, such as appending a path segment
  * to a {@link GeneralPath} without an initial moveto.
  *

@@ -36,20 +36,20 @@
 
 public class IllegalPathStateException extends RuntimeException {
     private static final long serialVersionUID = -5158084205220481094L;
 
     /**
-     * Constructs an <code>IllegalPathStateException</code> with no
+     * Constructs an {@code IllegalPathStateException} with no
      * detail message.
      *
      * @since   1.2
      */
     public IllegalPathStateException() {
     }
 
     /**
-     * Constructs an <code>IllegalPathStateException</code> with the
+     * Constructs an {@code IllegalPathStateException} with the
      * specified detail message.
      * @param   s   the detail message
      * @since   1.2
      */
     public IllegalPathStateException(String s) {
< prev index next >