Class NodeUnrecoverableErrorEvent

  • All Implemented Interfaces:
    Event, NodeEvent

    public class NodeUnrecoverableErrorEvent
    extends Object
    This events signals that the node encountered an unrecoverable error.

    This is an immutable object.

    • Field Detail

      • node

        protected final Node node
    • Constructor Detail

      • NodeUnrecoverableErrorEvent

        public NodeUnrecoverableErrorEvent​(Node node,
                                           Throwable error)
    • Method Detail

      • getError

        public Throwable getError()
        Returns the exception that crashed the node.
        Returns:
        the exception that crashed the node
      • hashCode

        public int hashCode()
      • equals

        public boolean equals​(Object o)
      • getNode

        public Node getNode()
        Description copied from interface: NodeEvent
        Returns the node to which this event refers.
        Specified by:
        getNode in interface NodeEvent
        Returns:
        the node to which this event refers.