Top Description Fields Constructors
java.awt

public Class IllegalComponentStateException

extends IllegalStateException
Class Inheritance
Imports
java.io.Serial

Signals that an AWT component is not in an appropriate state for the requested operation.
Author
Jonni Kanerva

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.IllegalStateException.serialVersionUID.

Use serialVersionUID from JDK 1.1 for interoperability.

Constructor Summary

AccessConstructor and Description
public
IllegalComponentStateException()

Constructs an IllegalComponentStateException with no detail message.

public
IllegalComponentStateException(String
the String that contains a detailed message
s
)

Constructs an IllegalComponentStateException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalStateException.serialVersionUID.

Use serialVersionUID from JDK 1.1 for interoperability.

Annotations
@Serial

Constructor Detail

IllegalComponentStateExceptionback to summary
public IllegalComponentStateException()

Constructs an IllegalComponentStateException with no detail message. A detail message is a String that describes this particular exception.

IllegalComponentStateExceptionback to summary
public IllegalComponentStateException(String s)

Constructs an IllegalComponentStateException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
s:String

the String that contains a detailed message