1. /*
  2. * @(#)FontFormatException.java 1.4 00/02/02
  3. *
  4. * Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt;
  11. /**
  12. * Thrown by method createFont in the <code>Font</code> class to indicate
  13. * that the specified font is bad.
  14. *
  15. * @author Parry Kejriwal
  16. * @version 1.4, 02/02/00
  17. * @see java.awt.Font
  18. * @since 1.3
  19. */
  20. public
  21. class FontFormatException extends Exception {
  22. /**
  23. * Report a FontFormatException for the reason specified.
  24. */
  25. public FontFormatException(String reason) {
  26. super (reason);
  27. }
  28. }