File: //home/retile.ru/public_html/system/library/Spout3/Reader/Exception/InvalidValueException.php
<?php
namespace Box\Spout\Reader\Exception;
use Throwable;
/**
* Class InvalidValueException
*/
class InvalidValueException extends ReaderException
{
/** @var mixed */
private $invalidValue;
/**
* @param mixed $invalidValue
* @param string $message
* @param int $code
* @param Throwable|null $previous
*/
public function __construct($invalidValue, $message = '', $code = 0, Throwable $previous = null)
{
$this->invalidValue = $invalidValue;
parent::__construct($message, $code, $previous);
}
/**
* @return mixed
*/
public function getInvalidValue()
{
return $this->invalidValue;
}
}