XmlParserException class

Exception thrown when parsing of an XML document fails.

Inheritance
Mixed-in types

Constructors

XmlParserException(String message, {String? buffer, int? position})
Creates a new XmlParserException.

Properties

buffer String?
The input buffer which caused the error, or null if not available.
getter/setter pairoverride-getter
column int
The column number where the parser error was detected, or 0 if no location information is available.
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
line int
The line number where the parser error was detected, or 0 if no location information is available.
latefinalinherited
locationString String
no setterinherited
message String
A message describing the XML error.
finalinherited
offset int?
The offset in source where the error was detected.
no setterinherited
position int?
The offset in buffer where the error was detected, or null if no location information is available.
getter/setter pairoverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
The actual source input which caused the error.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited