< prev index next >
src/java.desktop/share/classes/java/awt/geom/IllegalPathStateException.java
Print this page
*** 24,34 ****
*/
package java.awt.geom;
/**
! * The <code>IllegalPathStateException</code> 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.
*
--- 24,34 ----
*/
package java.awt.geom;
/**
! * 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,55 ****
public class IllegalPathStateException extends RuntimeException {
private static final long serialVersionUID = -5158084205220481094L;
/**
! * Constructs an <code>IllegalPathStateException</code> with no
* detail message.
*
* @since 1.2
*/
public IllegalPathStateException() {
}
/**
! * Constructs an <code>IllegalPathStateException</code> with the
* specified detail message.
* @param s the detail message
* @since 1.2
*/
public IllegalPathStateException(String s) {
--- 36,55 ----
public class IllegalPathStateException extends RuntimeException {
private static final long serialVersionUID = -5158084205220481094L;
/**
! * Constructs an {@code IllegalPathStateException} with no
* detail message.
*
* @since 1.2
*/
public IllegalPathStateException() {
}
/**
! * Constructs an {@code IllegalPathStateException} with the
* specified detail message.
* @param s the detail message
* @since 1.2
*/
public IllegalPathStateException(String s) {
< prev index next >