XmlTagException class

Exception thrown when the end tag does not match the open tag.

Inheritance

Constructors

XmlTagException(String message)
Creates a new XmlTagException.
XmlTagException.mismatchClosingTag(String expectedName, String actualName)
Creates a new XmlTagException where expectedName was expected, but instead we found actualName.
factory
XmlTagException.missingClosingTag(String name)
Creates a new XmlTagException for a missing closing tag.
factory
XmlTagException.unexpectedClosingTag(String name)
Creates a new XmlTagException for an unexpected closing tag.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A message describing the XML error.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
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

Static Methods

checkClosingTag(String expected, String actual) → void
Ensure that the expected tag matches the actual one.