OutOfMemoryError class final
Error that the platform can use in case of memory shortage.
Thrown when an allocation cannot be satisfied. Programs should generally not try to recover from it, and some platforms terminate instead of throwing it.
The stackTrace of this error is always null. Use the stack trace from
catch (e, s) if one is needed.
- Implemented types
Constructors
- OutOfMemoryError()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setteroverride
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