sorry - posted wrong snippet, above one was on the getting, should have posted this from the constructor:
...
        if (null == instanceCapStr || instanceCapStr.equals("")) {
            this.instanceCap = Integer.MAX_VALUE;
        } else {
            this.instanceCap = Integer.parseInt(instanceCapStr);
        }
...