java.awt
Class HeadlessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.UnsupportedOperationException
                  extended by java.awt.HeadlessException
All Implemented Interfaces:
Serializable

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
See Also:
Serialized Form

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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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