Class MalformedTreeException

All Implemented Interfaces:
Serializable

public class MalformedTreeException extends RuntimeException
Thrown to indicate that an edit got added to a parent edit but the child edit somehow conflicts with the parent or one of it siblings.

This class is not intended to be serialized.

Since:
3.0
See Also:
  • Constructor Details

    • 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 Details

    • 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