Class ErrorNode

Object
org.anchoranalysis.mpp.proposer.error.ErrorNode
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ErrorNodeNull

public abstract class ErrorNode
extends Object
implements Serializable
An abstract class representing a node in an error tree structure.

This class provides methods for adding error messages and exceptions to the node, as well as generating a description of the errors.

See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • add

      public abstract ErrorNode add​(String errorMessage)
      Adds an error message to this node.
      Parameters:
      errorMessage - the error message to add
      Returns:
      the current ErrorNode instance for method chaining