/Dart 2

FormatException constructor

const FormatException([String message = "", dynamic source, int offset ])

Creates a new FormatException with an optional error message.

Optionally also supply the actual source with the incorrect format, and the offset in the format where a problem was detected.


const FormatException([this.message = "", this.source, this.offset]);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.