protected void checkStrike(double strike, bool extrapolate)
{
if (!(extrapolate || allowsExtrapolation() || (strike >= minStrike() && strike <= maxStrike())))
throw new ApplicationException("strike (" + strike + ") is outside the curve domain ["
+ minStrike() + "," + maxStrike() + "]");
}