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

Using bindProperties() and injecting an invalid name produces error message that is not awesome #99

Closed
gissuebot opened this issue Jul 7, 2014 · 2 comments

Comments

@gissuebot
Copy link

From kevinb9n on May 02, 2007 13:41:13

Here is an example of just the message,

  1. Error at com.blah.Blah.<init>(Blah.java:186):
     Binding to java.lang.String annotated with @
    com.google.inject.name.Named(value=BadPropName) not found. Annotations on
    other bindings to that type include:
    [@com.google.inject.name.Named(value=AGoodPropName1),
    @com.google.inject.name.Named(value=AGoodPropName2), @
    com.google.inject.name.Named(value=AGoodPropName3),

... and this list goes on and on and on.

Original issue: http://code.google.com/p/google-guice/issues/detail?id=99

@gissuebot
Copy link
Author

From christianedwardgruber on June 04, 2012 10:57:50

So, Kevin, is this still valid?  And if this were, and you were to design your ideal output for this error condition, what would it look like?

Labels: Component-Core

@gissuebot
Copy link
Author

From cgruber@google.com on November 18, 2013 11:55:17

(No comment was entered for this change.)

Status: Obsolete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant