Package org.drasyl.node.event
Class InboundExceptionEvent
java.lang.Object
org.drasyl.node.event.InboundExceptionEvent
- All Implemented Interfaces:
Event
This event signals that the node was unable to process an inbound message. Both application-level
messages and internal drasyl signaling messages can trigger this event. The occurrence of this
event does not necessarily indicate a bug, it could also be caused by bots/crawlers sending
unreadable messages.
This is an immutable object.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InboundExceptionEvent
public InboundExceptionEvent()
-
-
Method Details
-
toString
-
getError
Returns the exception why the message could not be processed.- Returns:
- the exception why the message could not be processed.
-
of
- Throws:
NullPointerException
- iferror
isnull
-