ExceptionHandler class abstract
A DiagnosticEventHandler that handles ExceptionEvent instances.
- Inheritance
-
- Object
- TypedEventHandler<
ExceptionEvent> - ExceptionHandler
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleEvent(
DiagnosticEvent event, {required OriginSpace space, required DiagnosticEventContext context}) → void -
Implements a filter on the handled event type.
Should not be overridden by subclasses,
override handleTypedEvent instead.
inherited
-
handleTypedEvent(
ExceptionEvent event, {required OriginSpace space, required DiagnosticEventContext context}) → void -
Handles a typed event, called when the event type matches.
To be implemented by subclasses.
inherited
-
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