Package org.eclipse.text.edits
Class MalformedTreeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.text.edits.MalformedTreeException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionMalformedTreeException
(TextEdit parent, TextEdit child, String message) Constructs a new malformed tree exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MalformedTreeException
Constructs a new malformed tree exception.- Parameters:
parent
- the parent editchild
- the child editmessage
- the detail message
-
-
Method Details
-
getParent
Returns the parent edit that caused the exception.- Returns:
- the parent edit
-
getChild
Returns the child edit that caused the exception.- Returns:
- the child edit
-