class DoubleBarrierOptionFunctionProvider extends BarrierOptionFunctionProvider {

  @Override
  public double getBarrier() {
    throw new IllegalArgumentException("Specify lower barrier or upper barrier");
  }

  public  DoubleBarrierOptionFunctionProvider(final double strike, final double timeToExpiry, final int steps, final boolean isCall, final double lowerBarrier, final double upperBarrier,
      final BarrierTypes typeName);

}