File: /home/petsclubcc/magento/vendor/magento/module-store/Model/StoreIsInactiveException.php
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Store\Model;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Phrase;
class StoreIsInactiveException extends LocalizedException
{
/**
* @param \Magento\Framework\Phrase $phrase
* @param \Exception $cause
*/
public function __construct(Phrase $phrase = null, \Exception $cause = null)
{
if ($phrase === null) {
$phrase = new Phrase('Store is inactive');
}
parent::__construct($phrase, $cause);
}
}