LanguageVersionFormatException class final
Exception thrown when a string didn't have the expected format of a LanguageVersion string and therefore can't be successfully parsed or created.
- Implemented types
Constructors
- LanguageVersionFormatException(String message, {required String source, required int offset})
-
Creates a new LanguageVersionFormatException with
the specified
messagereported at the specifiedoffsetinsource.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A message describing the cause of the exception.
final
- offset → int
-
The offset in source where the error occurred.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The entire input string that failed to be parsed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a description of this exception
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited