Skip to content

FigletFontFormatException

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

The exception that is thrown when a FIGfont (.flf) file fails to parse, either because the header is malformed or because the FIGcharacter data does not conform to the FIGfont 2.0 specification.

csharp
public sealed class FigletFontFormatException : Exception, ISerializable

Inheritance

ObjectExceptionFigletFontFormatException

Implements

Constructors

FigletFontFormatException(string, Exception)

Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

  • message (String): The message that describes the error.
  • innerException (Exception): The exception that is the cause of the current exception.
csharp
public FigletFontFormatException(string message, Exception innerException)

FigletFontFormatException(string)

Initializes a new instance of the class with a specified error message.

Parameters:

  • message (String): The message that describes the error.
csharp
public FigletFontFormatException(string message)

Remarks

This exception is raised by , , , , and when input is not a recognizable FIGfont.

The exception message identifies the offending portion of the font (for example, the header line, a comment line count, or the FIGcharacter at a specific code point) so that font authors can locate problems quickly.

Released under the MIT License.