public function read($path)
{
$ex = null;
$ret = false;
try {
$ret = $this->fs->read($path);
} catch (Error $ex) {
} catch (Exception $ex) {
}
if ($ret === false || $ex !== null) {
throw new ReadException("File {$path} could not be read.", $ex);
}
return $ret;
}