1 19 package org.openide.nodes; 20 21 import java.io.IOException ; 22 23 24 29 public final class NodeNotFoundException extends IOException { 30 static final long serialVersionUID = 1493446763320691906L; 31 32 33 private Node node; 34 35 36 private String name; 37 38 39 private int depth; 40 41 46 NodeNotFoundException(Node node, String name, int depth) { 47 this.node = node; 48 this.name = name; 49 } 50 51 54 public Node getClosestNode() { 55 return node; 56 } 57 58 61 public String getMissingChildName() { 62 return name; 63 } 64 65 68 public int getClosestNodeDepth() { 69 return depth; 70 } 71 } 72 | Popular Tags |