Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.text.edits
Class MalformedTreeException


java.lang.Object
  extended by 

java.lang.Throwable
      extended by 

java.lang.Exception
          extended by 

java.lang.RuntimeException
              extended by 
org.eclipse.text.edits.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:
TextEdit.addChild(TextEdit), TextEdit.addChildren(TextEdit[]), Serialized Form

Constructor Summary
MalformedTreeException ( TextEdit parent, TextEdit child, String message)
          Constructs a new malformed tree exception.
 
Method Summary
  TextEdit getChild ()
          Returns the child edit that caused the exception.
  TextEdit getParent ()
          Returns the parent edit that caused the exception.
 
Methods inherited from class java.lang. Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire