public void setMagFilter(MagFilter magnificationFilter) {
        if (magnificationFilter == null) {
            throw new IllegalArgumentException(
                    "magnificationFilter can not be null.");
        }
        this.magnificationFilter = magnificationFilter;
    }
@param magnificationFilter
           the new MagnificationFilter for this texture.
@throws IllegalArgumentException
            if magnificationFilter is null
jme3-core/src/main/java/com/jme3/texture/Texture.java