public class

FontFormatException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.awt.FontFormatException

Class Overview

Thrown by method createFont in the Font class to indicate that the specified font is bad.

See Also

Summary

Public Constructors
FontFormatException(String reason)
Report a FontFormatException for the reason specified.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public FontFormatException (String reason)

Report a FontFormatException for the reason specified.

Parameters
reason a String message indicating why the font is not accepted.