@@ 7-19 (lines=13) @@ | ||
4 | ||
5 | use \Exception; |
|
6 | ||
7 | class PropertyNotReadableException extends Exception |
|
8 | { |
|
9 | public function __construct($class, $property, $previous = null) |
|
10 | { |
|
11 | parent::__construct |
|
12 | ( |
|
13 | 'Tried to read unreadable property ' |
|
14 | . $class . '::$' . $property, |
|
15 | 0, |
|
16 | $previous |
|
17 | ); |
|
18 | } |
|
19 | } |
|
20 |
@@ 7-19 (lines=13) @@ | ||
4 | ||
5 | use \Exception; |
|
6 | ||
7 | class PropertyNotWritableException extends Exception |
|
8 | { |
|
9 | public function __construct($class, $property, $previous = null) |
|
10 | { |
|
11 | parent::__construct |
|
12 | ( |
|
13 | 'Tried to write to unwritable property ' |
|
14 | . $class . '::$' . $property, |
|
15 | 0, |
|
16 | $previous |
|
17 | ); |
|
18 | } |
|
19 | } |
|
20 |