1 /* 2 * @(#)FontFormatException.java 1.8 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package java.awt; 9 10 /** 11 * Thrown by method createFont in the <code>Font</code> class to indicate 12 * that the specified font is bad. 13 * 14 * @author Parry Kejriwal 15 * @version 1.8, 12/19/03 16 * @see java.awt.Font 17 * @since 1.3 18 */ 19 public 20 class FontFormatException extends Exception { 21 /** 22 * Report a FontFormatException for the reason specified. 23 * @param reason a <code>String</code> message indicating why 24 * the font is not accepted. 25 */ 26 public FontFormatException(String reason) { 27 super (reason); 28 } 29 } 30