org.openide.nodes 6.7.22

org.openide.nodes
Class NodeNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Method Summary
 Node getClosestNode()
          Get the closest node to the target that was able to be found.
 int getClosestNodeDepth()
          Getter for the depth of the closest node found.
 String getMissingChildName()
          Get the name of the missing child of the closest node.
 
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
 

Method Detail

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.)

org.openide.nodes 6.7.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.