*/
public ExternalId getDeliverableSwapFutureNodeId(final LocalDate curveDate, final Tenor tenor, final Tenor swapTenor, final int numberFuturesFromTenor) {
if (_deliverableSwapFutureNodeIds == null) {
throw new OpenGammaRuntimeException("Cannot get deliverable swap future node id provider for curve node id mapper called " + _name);
}
final CurveInstrumentProvider mapper = _deliverableSwapFutureNodeIds.get(tenor);
if (mapper != null) {
return mapper.getInstrument(curveDate, tenor, swapTenor, numberFuturesFromTenor);
}
throw new OpenGammaRuntimeException("Can't get instrument mapper definition for deliverable swap future number " + numberFuturesFromTenor +
" with time to start " + tenor + " and swap tenor " + swapTenor);
}