/** * Initializes a new instance of that class. * * @param string $path The path of the directory. * @param string $message The message. * @param \Exception $innerException The inner exception. * @param int $code The code. */ public function __construct($path = null, $message = null, \Exception $innerException = null, int $code = 0) { $this->_path = ClrString::valueToString($path, false); parent::__construct($message, $innerException, $code); }
/** * Initializes a new instance of that class. * * @param IEnumerable $seq The underlying sequence. * @param string $message The message. * @param \Exception $innerException The inner exception. * @param int $code The code. */ public function __construct(IEnumerable $seq, $message = null, \Exception $innerException = null, int $code = 0) { $this->_sequence = $seq; parent::__construct($message, $innerException, $code); }