public virtual void setCapletVolatility(Handle<YoYOptionletVolatilitySurface> capletVol) { if (capletVol.empty()) throw new ApplicationException("empty capletVol handle"); capletVol_ = capletVol; capletVol_.registerWith(update); }