Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DependencyInjection] Added missing support for setting previous exception #7313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2013

Conversation

hason
Copy link
Contributor

@hason hason commented Mar 9, 2013

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

@fabpot
Copy link
Member

fabpot commented Mar 11, 2013

What's the goal as all these exceptions are thrown by the framework itself without the need for a previous exception?

@hason
Copy link
Contributor Author

hason commented Mar 13, 2013

I have implemented custom Container with support for events, that calls parent methods in the try-catch blocks and throws exceptions from Dependency Injection component (eg. ServiceNotFoundException). I want to set a previous exception if exists.

fabpot added a commit that referenced this pull request Mar 22, 2013
This PR was merged into the master branch.

Discussion
----------

[DependencyInjection] Added missing support for setting previous exception

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

9b4cd73 [DependencyInjection] Added missing support for setting previous exception
@fabpot fabpot merged commit 9b4cd73 into symfony:master Mar 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants