TaskTimeoutException class
Exception to keep track of task timeouts.
- Inheritance
-
- Object
- SquadronException
- WorkerException
- CancelledException
- TaskTimeoutException
- Implemented types
Constructors
- TaskTimeoutException({String? message, StackTrace? stackTrace, String? workerId, int? command, Duration? duration})
- Creates a new TaskTimeoutException.
Properties
- command → int?
-
Command.
no setterinherited
- duration → Duration?
-
The duration that was exceeded.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Message.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Stack trace associated to the original exception.
no setterinherited
- workerId → String?
-
Worker ID.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → List -
Serializes the exception, i.e. returns a list of items that can cross thread boundaries.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
deserialize(
List data) → TaskTimeoutException? -
Deserializes a List that was produced by serialize.
override