public class FontFormatException extends 异常
Font
类中通过
Font
方法抛出,以指示指定的字体是坏的。
Font
, Serialized Form
Constructor and Description |
---|
FontFormatException(String reason)
报告FontFormatException为指定的原因。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FontFormatException(String reason)
reason
- a
String
message indicating why the font is not accepted.