Package org.drasyl.node.event
Class NodeUnrecoverableErrorEvent
java.lang.Object
org.drasyl.node.event.NodeUnrecoverableErrorEvent
This events signals that the node encountered an unrecoverable error.
This is an immutable object.
-
Constructor Details
-
NodeUnrecoverableErrorEvent
public NodeUnrecoverableErrorEvent()
-
-
Method Details
-
getError
Returns the exception that crashed the node.- Returns:
- the exception that crashed the node
-
of
- Throws:
NullPointerException
- ifnode
orerror
isnull
-