org.openide.nodes
Class NodeNotFoundException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--org.openide.nodes.NodeNotFoundException
- All Implemented Interfaces:
- Serializable
- public final class NodeNotFoundException
- extends IOException
Exception indicating that a node could not be found while
traversing a path from the root.
- See Also:
- Serialized Form
getClosestNode
public Node getClosestNode()
- Get the closest node to the target that was able to be found.
- Returns:
- the closest node
getMissingChildName
public String getMissingChildName()
- Get the name of the missing child of the closest node.
- Returns:
- the name of the missing child
getClosestNodeDepth
public int getClosestNodeDepth()
- Getter for the depth of the closest node found.
- Returns:
- the depth (0 for the start node, 1 for its child, etc.)
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.