From 705c4cb50eea66585cc95c7314001fce9dd197cd Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Tue, 5 May 2015 19:34:39 +0200 Subject: Initial commit --- .../Translation/Exception/ExceptionInterface.php | 23 ++++++++++++++++++++++ .../Exception/InvalidResourceException.php | 23 ++++++++++++++++++++++ .../Exception/NotFoundResourceException.php | 23 ++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 vendor/symfony/translation/Symfony/Component/Translation/Exception/ExceptionInterface.php create mode 100644 vendor/symfony/translation/Symfony/Component/Translation/Exception/InvalidResourceException.php create mode 100644 vendor/symfony/translation/Symfony/Component/Translation/Exception/NotFoundResourceException.php (limited to 'vendor/symfony/translation/Symfony/Component/Translation/Exception') diff --git a/vendor/symfony/translation/Symfony/Component/Translation/Exception/ExceptionInterface.php b/vendor/symfony/translation/Symfony/Component/Translation/Exception/ExceptionInterface.php new file mode 100644 index 0000000..7757e66 --- /dev/null +++ b/vendor/symfony/translation/Symfony/Component/Translation/Exception/ExceptionInterface.php @@ -0,0 +1,23 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Exception; + +/** + * Exception interface for all exceptions thrown by the component. + * + * @author Fabien Potencier + * + * @api + */ +interface ExceptionInterface +{ +} diff --git a/vendor/symfony/translation/Symfony/Component/Translation/Exception/InvalidResourceException.php b/vendor/symfony/translation/Symfony/Component/Translation/Exception/InvalidResourceException.php new file mode 100644 index 0000000..6413f1a --- /dev/null +++ b/vendor/symfony/translation/Symfony/Component/Translation/Exception/InvalidResourceException.php @@ -0,0 +1,23 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Exception; + +/** + * Thrown when a resource cannot be loaded. + * + * @author Fabien Potencier + * + * @api + */ +class InvalidResourceException extends \InvalidArgumentException implements ExceptionInterface +{ +} diff --git a/vendor/symfony/translation/Symfony/Component/Translation/Exception/NotFoundResourceException.php b/vendor/symfony/translation/Symfony/Component/Translation/Exception/NotFoundResourceException.php new file mode 100644 index 0000000..7826e5c --- /dev/null +++ b/vendor/symfony/translation/Symfony/Component/Translation/Exception/NotFoundResourceException.php @@ -0,0 +1,23 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Exception; + +/** + * Thrown when a resource does not exist. + * + * @author Fabien Potencier + * + * @api + */ +class NotFoundResourceException extends \InvalidArgumentException implements ExceptionInterface +{ +} -- cgit v1.2.3-70-g09d2