private void generateContext() {
            if (mContextParam == null) {
                throw new NullPointerException("Context parameter is null");
            }
            else {
                generate(mContextParam);
            }
        }