InvalidConfigurationException.php 695 B

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