|
0
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
/* |
|
|
4 |
* This file is part of the Symfony package. |
|
|
5 |
* |
|
|
6 |
* (c) Fabien Potencier <fabien@symfony.com> |
|
|
7 |
* |
|
|
8 |
* For the full copyright and license information, please view the LICENSE |
|
|
9 |
* file that was distributed with this source code. |
|
|
10 |
*/ |
|
|
11 |
|
|
|
12 |
namespace Symfony\Component\Config\Definition\Exception; |
|
|
13 |
|
|
|
14 |
/** |
|
|
15 |
* A very general exception which can be thrown whenever non of the more specific |
|
|
16 |
* exceptions is suitable. |
|
|
17 |
* |
|
|
18 |
* @author Johannes M. Schmitt <schmittjoh@gmail.com> |
|
|
19 |
*/ |
|
|
20 |
class InvalidConfigurationException extends Exception |
|
|
21 |
{ |
|
|
22 |
private $path; |
|
|
23 |
|
|
|
24 |
public function setPath($path) |
|
|
25 |
{ |
|
|
26 |
$this->path = $path; |
|
|
27 |
} |
|
|
28 |
|
|
|
29 |
public function getPath() |
|
|
30 |
{ |
|
|
31 |
return $this->path; |
|
|
32 |
} |
|
|
33 |
} |