java.awt

Class HeadlessException

public class HeadlessException extends UnsupportedOperationException

This exception is thrown when code dependent on a keyboard, mouse, or display is executed in a headless environment.

Since: 1.4

UNKNOWN: updated to 1.4

Constructor Summary
HeadlessException()
Create a new instance with no detailed error message.
HeadlessException(String message)
Create a new instance with the specified detailed error message.

Constructor Detail

HeadlessException

public HeadlessException()
Create a new instance with no detailed error message.

HeadlessException

public HeadlessException(String message)
Create a new instance with the specified detailed error message.

Parameters: message the detailed error message