%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/3rdparty/punic/punic/src/Exception/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/3rdparty/punic/punic/src/Exception/DataFileNotReadable.php

<?php

namespace Punic\Exception;

/**
 * An exception raised when an data file was not read.
 */
class DataFileNotReadable extends \Punic\Exception
{
    protected $dataFilePath;

    /**
     * Initializes the instance.
     *
     * @param string $dataFilePath The path to the unreadable file
     * @param \Exception|null $previous The previous exception used for the exception chaining
     */
    public function __construct($dataFilePath, $previous = null)
    {
        $this->dataFilePath = $dataFilePath;
        $message = "Unable to read from the data file '{$dataFilePath}'";
        parent::__construct($message, \Punic\Exception::DATA_FILE_NOT_READABLE, $previous);
    }

    /**
     * Retrieves the path to the unreadable file.
     *
     * @return string
     */
    public function getDataFilePath()
    {
        return $this->dataFilePath;
    }
}

Zerion Mini Shell 1.0