checked in changes
[IRC.git] / Robust / src / IR / Tree / ParseNode.java
index 00858a6ffa95776ba568a05153fe01202d5da77b..e5e34d2183ddaf3a29a8ca7c0cd94753245a2790 100644 (file)
@@ -111,7 +111,7 @@ public class ParseNode implements Walkable {
     public ParseNode addChild( ParseNode child ) {
 
        if (child == null) {
-           throw new NullPointerException("Can't add null node to parse tree");
+           throw new NullPointerException("Can't add null node to parse tree: "+getLabel());
        }
 
        children.addElement (child);