1 7 8 package javax.imageio.metadata; 9 10 import javax.imageio.IIOException ; 11 import org.w3c.dom.Node ; 12 13 29 public class IIOInvalidTreeException extends IIOException { 30 31 35 protected Node offendingNode = null; 36 37 47 public IIOInvalidTreeException(String message, Node offendingNode) { 48 super(message); 49 this.offendingNode = offendingNode; 50 } 51 52 66 public IIOInvalidTreeException(String message, Throwable cause, 67 Node offendingNode) { 68 super(message, cause); 69 this.offendingNode = offendingNode; 70 } 71 72 77 public Node getOffendingNode() { 78 return offendingNode; 79 } 80 } 81 | Popular Tags |