Skip to content
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

This PR adds a MissingDpendencyException to Picotainer. This exception is fired when the entry is found, but the factory method of the entry triggers a NotFoundException (because of a missing dependency fetched from the container). #4

Open
wants to merge 2 commits into
base: 1.0
Choose a base branch
from

Conversation

moufmouf
Copy link
Member

@moufmouf moufmouf commented Sep 3, 2016

The rationale is to make a difference between a get method that was passed a wrong ID and a messed up factory. The MissingDependencyException should not be catched while the NotFoundException is meant to be catched.

@moufmouf moufmouf self-assigned this Sep 3, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 2d9cede on moufmouf:missing_dependency_exception into 373b229 on thecodingmachine:1.0.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 2d9cede on moufmouf:missing_dependency_exception into 373b229 on thecodingmachine:1.0.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 2d9cede on moufmouf:missing_dependency_exception into 373b229 on thecodingmachine:1.0.

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.

None yet

2 participants