blob: 22204707e19b79bfd971a07e57380908ed349697 [file]
import 'exception.dart';
import 'format_exception.dart';
/// Exception thrown when parsing of an XML document fails.
class XmlParserException extends XmlException with XmlFormatException {
/// Creates a new XmlParserException.
XmlParserException(super.message, {this.buffer, this.position});
@override
String? buffer;
@override
int? position;
@override
String toString() => 'XmlParserException: $message at $locationString';
}