AbstractCsv.php
2 weeks ago
ByteSequence.php
2 weeks ago
CannotInsertRecord.php
2 weeks ago
CharsetConverter.php
2 weeks ago
ColumnConsistency.php
2 weeks ago
EncloseField.php
2 weeks ago
EscapeFormula.php
2 weeks ago
Exception.php
9 months ago
HTMLConverter.php
2 weeks ago
Info.php
2 weeks ago
InvalidArgument.php
9 months ago
MapIterator.php
2 weeks ago
RFC4180Field.php
2 weeks ago
Reader.php
2 weeks ago
ResultSet.php
2 weeks ago
Statement.php
2 weeks ago
Stream.php
2 weeks ago
SyntaxError.php
2 weeks ago
TabularDataReader.php
2 weeks ago
UnableToProcessCsv.php
9 months ago
UnavailableFeature.php
9 months ago
UnavailableStream.php
9 months ago
Writer.php
2 weeks ago
XMLConverter.php
2 weeks ago
functions.php
9 months ago
functions_include.php
9 months ago
UnavailableFeature.php
39 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * League.Csv (https://csv.thephpleague.com) |
| 5 | * |
| 6 | * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | declare (strict_types=1); |
| 12 | namespace IAWPSCOPED\League\Csv; |
| 13 | |
| 14 | use Throwable; |
| 15 | /** |
| 16 | * StreamFilterSupportMissing Exception. |
| 17 | * @internal |
| 18 | */ |
| 19 | class UnavailableFeature extends Exception |
| 20 | { |
| 21 | /** |
| 22 | * DEPRECATION WARNING! This class will be removed in the next major point release. |
| 23 | * |
| 24 | * @deprecated since version 9.7.0 |
| 25 | */ |
| 26 | public function __construct(string $message = '', int $code = 0, Throwable $previous = null) |
| 27 | { |
| 28 | parent::__construct($message, $code, $previous); |
| 29 | } |
| 30 | public static function dueToUnsupportedStreamFilterApi(string $className) : self |
| 31 | { |
| 32 | return new self('The stream filter API can not be used with a ' . $className . ' instance.'); |
| 33 | } |
| 34 | public static function dueToMissingStreamSeekability() : self |
| 35 | { |
| 36 | return new self('stream does not support seeking'); |
| 37 | } |
| 38 | } |
| 39 |