Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt

Class HeadlessException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.RuntimeException
         |
         +--java.lang.UnsupportedOperationException
            |
            +--java.awt.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:Author:

Constructor Summary

HeadlessException()

Create a new instance with no detailed error message.
HeadlessException(java.lang.String message)

Create a new instance with the specified detailed error message.

Constructor Details

HeadlessException

public HeadlessException()

Create a new instance with no detailed error message.


HeadlessException

public HeadlessException(java.lang.String message)

Create a new instance with the specified detailed error message.

Parameters: