| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __construct($id, $prefix, $code = 0) |
||
| 16 | { |
||
| 17 | $this->setMessageTemplate("Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, it does not contain prefix '%prefix%'. Is 'var_dir' config correct?"); |
||
| 18 | $this->setParameters(['id' => $id, 'prefix' => $prefix]); |
||
| 19 | |||
| 20 | // Parent does not let us set specifc message, so we jump all the way up to root Exception __construct(). |
||
| 21 | Exception::__construct($this->getBaseTranslation(), $code); |
||
| 22 | } |
||
| 23 | } |
||
| 24 |