Class FontFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.awt.FontFormatException
All Implemented Interfaces:
Serializable

public classFontFormatExceptionextendsException
Thrown by method createFont in theFont class to indicate that the specified font is bad.
Since:
1.3
See Also:
  • Constructor Details

    • FontFormatException

      public FontFormatException(String reason)
      Report a FontFormatException for the reason specified.
      Parameters:
      reason - aString message indicating why the font is not accepted.