class
FormatException

Exception thrown when a string or some other data does not have an expected format and cannot be parsed or processed.

Implements

Properties

String message
read-only
A message describing the format error.
dynamic source
read-only
The actual source input which caused the error.
int offset
read-only
The offset in source where the error was detected.

Constructors

FormatException([String message = "", source, int offset])
const
Creates a new FormatException with an optional error message.

Methods

toString() → String
Returns a description of the format exception.