Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
ioexception.php
1<?php
2namespace Bitrix\Main\IO;
3
8{
9 protected $path;
10
18 public function __construct($message = "", $path = "", \Exception $previous = null)
19 {
20 parent::__construct($message, 120, '', 0, $previous);
21 $this->path = $path;
22 }
23
29 public function getPath()
30 {
31 return $this->path;
32 }
33}
34
36{
37 public function __construct($path, \Exception $previous = null)
38 {
39 $message = "Path is invalid.";
40 parent::__construct($message, $path, $previous);
41 }
42}
43
45{
46 public function __construct($path, \Exception $previous = null)
47 {
48 $message = "Path was not found.";
49 parent::__construct($message, $path, $previous);
50 }
51}
52
54{
55 public function __construct($path, \Exception $previous = null)
56 {
57 $message = "Error occurred during deleting the file.";
58 parent::__construct($message, $path, $previous);
59 }
60}
61
63{
64 public function __construct($path, \Exception $previous = null)
65 {
66 $message = "Cannot open the file.";
67 parent::__construct($message, $path, $previous);
68 }
69}
70
72{
73 public function __construct($path, \Exception $previous = null)
74 {
75 $message = "The file was not opened.";
76 parent::__construct($message, $path, $previous);
77 }
78}
__construct($path, \Exception $previous=null)
__construct($path, \Exception $previous=null)
__construct($path, \Exception $previous=null)
__construct($path, \Exception $previous=null)
__construct($path, \Exception $previous=null)
__construct($message="", $path="", \Exception $previous=null)