APIdia Launch Partner
Top Description Fields Constructors
java.awt.geom

public Class IllegalPathStateException

extends RuntimeException
Class Inheritance
Imports
java.io.Serial

The 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 GeneralPath without an initial moveto.

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Use serialVersionUID from JDK 9 for interoperability.

Constructor Summary

AccessConstructor and Description
public
IllegalPathStateException()

Constructs an IllegalPathStateException with no detail message.

public
IllegalPathStateException(String
the detail message
s
)

Constructs an IllegalPathStateException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Use serialVersionUID from JDK 9 for interoperability.

Annotations
@Serial

Constructor Detail

IllegalPathStateExceptionback to summary
public IllegalPathStateException()

Constructs an IllegalPathStateException with no detail message.

Since
1.2
IllegalPathStateExceptionback to summary
public IllegalPathStateException(String s)

Constructs an IllegalPathStateException with the specified detail message.

Parameters
s:String

the detail message

Since
1.2