ImportLimitExceededException class final

Thrown when an import exceeds a configured resource limit.

Bounding the parser is what keeps a hostile document from turning into a denial of service; see ImportLimits.

Inheritance

Constructors

ImportLimitExceededException(String limit, String message)
Creates the exception naming the limit that was exceeded.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
limit String
Short identifier of the exceeded limit, e.g. maxDepth.
final
message String
Human-readable description. Not intended for end users.
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.
inherited

Operators

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