Class BasicNodeError


  • public class BasicNodeError
    extends Object
    Error record. We group all the error variables in one class to decrease the number of variables in BasicNode.
    • Constructor Detail

      • BasicNodeError

        public BasicNodeError​(NodeRefresher.State state,
                              Exception x,
                              Object arg)
        The constructor of the BasicNodeError.
        Parameters:
        state - the state of the refresher when the exception occurred.
        x - the exception.
        arg - the argument of the exception.
    • Method Detail

      • getState

        public NodeRefresher.State getState()
        Returns the state of the refresher when the exception occurred.
        Returns:
        the state of the refresher when the exception occurred.
      • getException

        public Exception getException()
        Returns the exception.
        Returns:
        the exception.
      • getArg

        public Object getArg()
        Returns the argument of the exception.
        Returns:
        the argument of the exception.