(cocos2d) Fix no-argument exception generation