Class MalformedTreeException

    • Constructor Detail

      • MalformedTreeException

        public MalformedTreeException​(TextEdit parent,
                                      TextEdit child,
                                      String message)
        Constructs a new malformed tree exception.
        Parameters:
        parent - the parent edit
        child - the child edit
        message - the detail message
    • Method Detail

      • getParent

        public TextEdit getParent()
        Returns the parent edit that caused the exception.
        Returns:
        the parent edit
      • getChild

        public TextEdit getChild()
        Returns the child edit that caused the exception.
        Returns:
        the child edit