XmlTagException class
Exception thrown when the end tag does not match the open tag.
- Inheritance
-
- Object
- XmlException
- XmlTagException
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 foundactualName
.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
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 theactual
one.