public function __construct(ProductInterface $product, CurrencyInterface $currency) { parent::__construct(sprintf("Product '%s' is not available for currency '%s'", $product->getName(), $currency->getLabel())); }