This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/DependencyInjection
Ryan Weaver b9883a3bad [Config] Improving the exception when a resource cannot be imported
This improves, for example, the exception one would receive if they tried to import a resource from a bundle that doesn't exist.
Previously, the deep "bundle is not activated" exception would be thrown. That has value, however there is no indication of where
the exception is actually occurring.

In this new implementation, we throw an exception that explains exactly which resource, and from which source resource, cannot be
loaded. The deeper exception is still thrown as a nested exception.

Two caveats:

  * The `HttpKernel::varToString` method was replicated
  * This introduces a new `Exception` class, which allows us to prevent lot's of exceptions from nesting into each other in the case
    that some deeply imported resource cannot be imported (each upstream import that fails doesn't add its own exception).
2011-04-01 18:59:54 -05:00
..
Compiler removed unused variable 2011-03-21 11:34:06 +01:00
Dumper [DependenInjection] fixed CS 2011-03-22 19:47:46 +01:00
Exception [DependencyInjection] refactored some more exceptions 2011-03-14 21:14:49 +01:00
Extension [DependencyInjection] removed obsolete code 2011-03-11 14:36:44 +01:00
Loader [Config] Improving the exception when a resource cannot be imported 2011-04-01 18:59:54 -05:00
ParameterBag [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
Alias.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
Container.php fixed small bug in sub-request profiling 2011-03-16 19:33:55 +01:00
ContainerAware.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
ContainerAwareInterface.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
ContainerBuilder.php Revert "Merge remote branch 'kriswallsmith/dic/lazy-replace-ext-params'" 2011-03-11 15:35:09 +01:00
ContainerInterface.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Definition.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
DefinitionDecorator.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
InterfaceInjector.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
LICENSE added LICENSE files for the subtree repositories 2011-02-22 18:58:15 +01:00
Parameter.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
Reference.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
Scope.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00
ScopeInterface.php Fixed CS 2011-02-27 20:56:29 +01:00
SimpleXMLElement.php fixed CS 2011-03-16 14:45:34 +01:00
TaggedContainerInterface.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Variable.php [DependencyInjection] moved most protected things to private 2011-03-11 14:50:46 +01:00