aboutsummaryrefslogtreecommitdiffstats
path: root/library/symfony/options-resolver/Exception
diff options
context:
space:
mode:
Diffstat (limited to 'library/symfony/options-resolver/Exception')
-rw-r--r--library/symfony/options-resolver/Exception/AccessException.php22
-rw-r--r--library/symfony/options-resolver/Exception/ExceptionInterface.php21
-rw-r--r--library/symfony/options-resolver/Exception/InvalidArgumentException.php21
-rw-r--r--library/symfony/options-resolver/Exception/InvalidOptionsException.php23
-rw-r--r--library/symfony/options-resolver/Exception/MissingOptionsException.php23
-rw-r--r--library/symfony/options-resolver/Exception/NoSuchOptionException.php26
-rw-r--r--library/symfony/options-resolver/Exception/OptionDefinitionException.php21
-rw-r--r--library/symfony/options-resolver/Exception/UndefinedOptionsException.php24
8 files changed, 0 insertions, 181 deletions
diff --git a/library/symfony/options-resolver/Exception/AccessException.php b/library/symfony/options-resolver/Exception/AccessException.php
deleted file mode 100644
index c12b68064..000000000
--- a/library/symfony/options-resolver/Exception/AccessException.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Thrown when trying to read an option outside of or write it inside of
- * {@link \Symfony\Component\OptionsResolver\Options::resolve()}.
- *
- * @author Bernhard Schussek <bschussek@gmail.com>
- */
-class AccessException extends \LogicException implements ExceptionInterface
-{
-}
diff --git a/library/symfony/options-resolver/Exception/ExceptionInterface.php b/library/symfony/options-resolver/Exception/ExceptionInterface.php
deleted file mode 100644
index b62bb51d4..000000000
--- a/library/symfony/options-resolver/Exception/ExceptionInterface.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Marker interface for all exceptions thrown by the OptionsResolver component.
- *
- * @author Bernhard Schussek <bschussek@gmail.com>
- */
-interface ExceptionInterface
-{
-}
diff --git a/library/symfony/options-resolver/Exception/InvalidArgumentException.php b/library/symfony/options-resolver/Exception/InvalidArgumentException.php
deleted file mode 100644
index 6d421d68b..000000000
--- a/library/symfony/options-resolver/Exception/InvalidArgumentException.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Thrown when an argument is invalid.
- *
- * @author Bernhard Schussek <bschussek@gmail.com>
- */
-class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
-{
-}
diff --git a/library/symfony/options-resolver/Exception/InvalidOptionsException.php b/library/symfony/options-resolver/Exception/InvalidOptionsException.php
deleted file mode 100644
index 6fd4f125f..000000000
--- a/library/symfony/options-resolver/Exception/InvalidOptionsException.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Thrown when the value of an option does not match its validation rules.
- *
- * You should make sure a valid value is passed to the option.
- *
- * @author Bernhard Schussek <bschussek@gmail.com>
- */
-class InvalidOptionsException extends InvalidArgumentException
-{
-}
diff --git a/library/symfony/options-resolver/Exception/MissingOptionsException.php b/library/symfony/options-resolver/Exception/MissingOptionsException.php
deleted file mode 100644
index faa487f16..000000000
--- a/library/symfony/options-resolver/Exception/MissingOptionsException.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Exception thrown when a required option is missing.
- *
- * Add the option to the passed options array.
- *
- * @author Bernhard Schussek <bschussek@gmail.com>
- */
-class MissingOptionsException extends InvalidArgumentException
-{
-}
diff --git a/library/symfony/options-resolver/Exception/NoSuchOptionException.php b/library/symfony/options-resolver/Exception/NoSuchOptionException.php
deleted file mode 100644
index 4c3280f4c..000000000
--- a/library/symfony/options-resolver/Exception/NoSuchOptionException.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Thrown when trying to read an option that has no value set.
- *
- * When accessing optional options from within a lazy option or normalizer you should first
- * check whether the optional option is set. You can do this with `isset($options['optional'])`.
- * In contrast to the {@link UndefinedOptionsException}, this is a runtime exception that can
- * occur when evaluating lazy options.
- *
- * @author Tobias Schultze <http://tobion.de>
- */
-class NoSuchOptionException extends \OutOfBoundsException implements ExceptionInterface
-{
-}
diff --git a/library/symfony/options-resolver/Exception/OptionDefinitionException.php b/library/symfony/options-resolver/Exception/OptionDefinitionException.php
deleted file mode 100644
index e8e339d44..000000000
--- a/library/symfony/options-resolver/Exception/OptionDefinitionException.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Thrown when two lazy options have a cyclic dependency.
- *
- * @author Bernhard Schussek <bschussek@gmail.com>
- */
-class OptionDefinitionException extends \LogicException implements ExceptionInterface
-{
-}
diff --git a/library/symfony/options-resolver/Exception/UndefinedOptionsException.php b/library/symfony/options-resolver/Exception/UndefinedOptionsException.php
deleted file mode 100644
index 6ca3fce47..000000000
--- a/library/symfony/options-resolver/Exception/UndefinedOptionsException.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Component\OptionsResolver\Exception;
-
-/**
- * Exception thrown when an undefined option is passed.
- *
- * You should remove the options in question from your code or define them
- * beforehand.
- *
- * @author Bernhard Schussek <bschussek@gmail.com>
- */
-class UndefinedOptionsException extends InvalidArgumentException
-{
-}