FormatException class

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

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

Implements:

Constructors

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

Instance Properties

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

Instance Methods

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