Package arez.spy
Class ObserverErrorEvent
java.lang.Object
arez.spy.ObserverErrorEvent
- All Implemented Interfaces:
SerializableEvent
Notification when Observer produces an error.
-
Constructor Summary
ConstructorDescriptionObserverErrorEvent
(ObserverInfo observer, ObserverError error, Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptiongetError()
void
Convert event attributes to json compatible values in map.
-
Constructor Details
-
ObserverErrorEvent
public ObserverErrorEvent(@Nonnull ObserverInfo observer, @Nonnull ObserverError error, @Nullable Throwable throwable)
-
-
Method Details
-
getObserver
-
getError
-
getThrowable
-
toMap
Description copied from interface:SerializableEvent
Convert event attributes to json compatible values in map.- Specified by:
toMap
in interfaceSerializableEvent
- Parameters:
map
- the map in which to serialize values.
-