- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.awt.FontFormatException
-
- All Implemented Interfaces:
-
Serializable
public class FontFormatException extends 异常
在Font
类中通过方法createFont抛出,以指示指定的字体不好。- 从以下版本开始:
- 1.3
- 另请参见:
-
Font
, Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 FontFormatException(String reason)
报告FontFormatException为指定的原因。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
FontFormatException
public FontFormatException(String reason)
报告FontFormatException为指定的原因。- 参数
-
reason
- aString
message indicating why the font is not accepted.
-
-