| 1 | <?php |
||
| 12 | class FileAccessException extends \RuntimeException |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param string $filename |
||
| 16 | * |
||
| 17 | * @return static |
||
| 18 | */ |
||
| 19 | 1 | final public static function notWritable($filename) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $filename |
||
| 26 | * |
||
| 27 | * @return static |
||
| 28 | */ |
||
| 29 | 2 | final public static function notReadable($filename) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $tmp_filename |
||
| 36 | * @param string $target_filename |
||
| 37 | * |
||
| 38 | * @return self |
||
| 39 | */ |
||
| 40 | 1 | final public static function failedOverwrite($tmp_filename, $target_filename) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $path |
||
| 51 | * @param string $prefix |
||
| 52 | * |
||
| 53 | * @return self |
||
| 54 | */ |
||
| 55 | 1 | final public static function failedCreateUnique($path, $prefix) |
|
| 63 | } |
||
| 64 |