public double callDigitalPayoff() { if (isCallCashOrNothing_) return callDigitalPayoff_; else throw new ApplicationException("callDigitalPayoff has not been set"); // return null; }