1. /*
  2. * @(#)HeadlessException.java 1.5 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt;
  8. /**
  9. * Thrown when code that is dependent on a keyboard, display, or mouse
  10. * is called in an environment that does not support a keyboard, display,
  11. * or mouse.
  12. *
  13. * @since 1.4
  14. * @author Michael Martak
  15. */
  16. public class HeadlessException extends UnsupportedOperationException {
  17. public HeadlessException() {}
  18. public HeadlessException(String msg) {
  19. super(msg);
  20. }
  21. }