XmlNodeTypeException class
Exception thrown when an unsupported node type is used.
- Inheritance
-
- Object
- XmlException
- XmlNodeTypeException
Constructors
-
XmlNodeTypeException(String message, {required XmlNode node, required Iterable<
XmlNodeType> types}) - Creates a new XmlNodeTypeException.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A message describing the XML error.
finalinherited
- node → XmlNode
-
The unsupported node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
→ Iterable<
XmlNodeType> -
The expected node types.
final
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
-
checkHasChildren(
XmlNode node) → void -
Ensure that
node
can have children. -
checkValidType(
XmlNode node, Iterable< XmlNodeType> types) → void -
Ensure that
node
is of one of the providedtypes
.