- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.UnsupportedOperationException
-
- java.awt.HeadlessException
-
- All Implemented Interfaces:
- java.io.Serializable
public class HeadlessException
extends java.lang.UnsupportedOperationException
Thrown when code that is dependent on a keyboard, display, or mouse
is called in an environment that does not support a keyboard, display,
or mouse.
- Since:
- 1.4
- See Also:
- Serialized Form
-
-
|
Constructor and Description |
|
HeadlessException |
public HeadlessException()
|
|
HeadlessException |
HeadlessException(java.lang.String msg)
public HeadlessException(java.lang.String msg)
|
-
|
Modifier and Type |
Method and Description |
|
getMessage |
java.lang.String getMessage()
Returns the detail message string of this throwable.
public java.lang.String getMessage()
-
Description copied from class: java.lang.Throwable
Returns the detail message string of this throwable.
- Overrides:
getMessage in class java.lang.Throwable
- Returns:
- the detail message string of this
Throwable instance
(which may be null ).
|
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
This document was created by
Dulcet from the OpenJDK sources.
Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.