Re: Comment on ThrowingProviders in google-guice

47 views
Skip to first unread message

google...@googlecode.com

unread,
Mar 28, 2011, 8:11:34 AM3/28/11
to google-g...@googlegroups.com
Comment by miroslav...@gmail.com:

@kashie, there is no source, they are made up examples.

For more information:
http://code.google.com/p/google-guice/wiki/ThrowingProviders

google...@googlecode.com

unread,
Apr 20, 2011, 1:06:16 PM4/20/11
to google-g...@googlegroups.com
Comment by grave.co...@gmail.com:

Hi,
Is provider inject the only way to use throwing exception extension? is
there any way likes toProvider()?

google...@googlecode.com

unread,
Jul 29, 2011, 5:08:00 AM7/29/11
to google-g...@googlegroups.com
Comment by laola...@gmail.com:

Hi,

I am trying to use the CheckedProvider with the instructions in this page.
I think what is missing in the page is how the WorldNewsFeedProvider and
SportsFeedProvider are implemented? (As mentioned by kashie above.) Really
appreciate if the missing part can be filled in, which can be a great help
for any new comers.

Thanks

google...@googlecode.com

unread,
Aug 30, 2011, 11:54:25 AM8/30/11
to google-g...@googlegroups.com
Comment by jonasloe...@googlemail.com:

Hi,
right now it's not clear how a Throwing Provider works. I'm also missing a
complete example. Especially because there is no JavaDoc-comment for the
methode
bind()(http://google-guice.googlecode.com/svn/tags/3.0/javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.html#bind(java.lang.Class<P>,
java.lang.reflect.Type)).
Having a meaningful JavaDoc in the near future would be great!

google...@googlecode.com

unread,
Nov 15, 2011, 6:21:32 AM11/15/11
to google-g...@googlegroups.com
Comment by marcin.l...@gmail.com:

Could somebody provide a FULL working source for CheckedProviders, because
I can't make it work with those examples unfortunately... I'm not sure it's
a bug or if I'm doing something wrong. Thanks.

google...@googlecode.com

unread,
Oct 18, 2012, 5:10:10 AM10/18/12
to google-g...@googlegroups.com
Comment by nyo...@openmrs.org:

Hi,

Is there a place we can access the full example of the throwing providers
implementation? I can't seems to get the entire picture using just the
above partial code.

google...@googlecode.com

unread,
Nov 17, 2012, 8:29:24 AM11/17/12
to google-g...@googlegroups.com
Comment by georg....@gmail.com:

With CheckedProviders you also need to
install(ThrowingProviderBinder.forModule(this));

And you MUST make a subinterface, even if you want to throw Exception.

google...@googlecode.com

unread,
Nov 22, 2012, 2:59:47 AM11/22/12
to google-g...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages