diff --git a/engine/src/core/com/jme3/scene/Node.java b/engine/src/core/com/jme3/scene/Node.java index 37477733c..b5bd45b10 100644 --- a/engine/src/core/com/jme3/scene/Node.java +++ b/engine/src/core/com/jme3/scene/Node.java @@ -229,7 +229,7 @@ public class Node extends Spatial implements Savable { * @param child * the child to attach to this node. * @return the number of children maintained by this node. - * @throws NullPointerException If child is null. + * @throws IllegalArgumentException if child is null. */ public int attachChild(Spatial child) { if (child == null)