java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.awt.FontFormatException
public class FontFormatException
此异常由 Font 类中的 createFont 方法抛出,以指示指定的字体很糟糕。
| 构造方法摘要 | |
|---|---|
FontFormatException(String reason) 报告一个指定了原因的 FontFormatException。 |
|
| 方法摘要 |
|---|
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public FontFormatException(String reason)
reason -
String 消息,指示为什么该字体未被接受。