ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
StreamNotReadableException.php
Go to the documentation of this file.
1<?php
2declare(strict_types=1);
3
4namespace ZipStream\Exception;
5
7
12{
18 public function __construct(string $fileName)
19 {
20 parent::__construct("The stream for $fileName could not be read.");
21 }
22}
An exception for terminatinating execution or to throw for unit testing.
This Exception gets invoked if fread fails on a stream.
__construct(string $fileName)
Constructor of the Exception.
This class is only for inheriting.
Definition: Exception.php:10