<?php
/**
 * @package	HikaShop for Joomla!
 * @version	4.4.1
 * @author	hikashop.com
 * @copyright	(C) 2010-2021 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php


namespace DVDoug\BoxPacker;

use RuntimeException;

class ItemTooLargeException extends RuntimeException
{

    public $item;

    public function __construct($message, Item $item)
    {
        $this->item = $item;
        parent::__construct($message);
    }

    public function getItem()
    {
        return $this->item;
    }
}
