public function __construct(BasketItem $basketItem = null, Exception $previous = null) { parent::__construct('Basket Item #' . $basketItem->getId() . ' not found', 404, $previous); }