fmgasparino / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
0 stars 0 forks source link

com.google.inject.ProvisionException not available through GIN #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a provider.
2. Try to throw a ProvisionException from within a Provider, as required by 
the Provider javadocs.
3. [ERROR] Line 34: No source code is available for type 
com.google.inject.ProvisionException; did you forget to inherit a required 
module?

What is the expected output? What do you see instead?
ProvisionException should be available when Providers are used with GIN.

What version of the product are you using? On what operating system?
I think it is r104 on Linux.

Original issue reported on code.google.com by jaredk...@google.com on 22 Sep 2009 at 5:39

GoogleCodeExporter commented 9 years ago
I'll treat this as a feature request - it's non-trivial to implement
ProvisionExceptions 1:1 in Gin because they draw in a lot of Guice-internal 
stuff.
Might take a while before I get around to it.

Original comment by aragos on 27 Sep 2009 at 4:46