APIdia Launch Partner
Top Description Fields Constructors
java.awt

public Class AWTException

extends Exception
Class Inheritance
Imports
java.io.Serial

Signals that an Abstract Window Toolkit exception has occurred.
Author
Arthur van Hoff

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Use serialVersionUID from JDK 1.1 for interoperability.

Constructor Summary

AccessConstructor and Description
public
AWTException(String
the detail message
msg
)

Constructs an instance of AWTException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Use serialVersionUID from JDK 1.1 for interoperability.

Annotations
@Serial

Constructor Detail

AWTExceptionback to summary
public AWTException(String msg)

Constructs an instance of AWTException with the specified detail message. A detail message is an instance of String that describes this particular exception.

Parameters
msg:String

the detail message

Since
1.0