bineanzhou / google-guice

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

throw exception containing all error messages when Injector.getInstance() fails #119

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It appears that when multiple errors occur at runtime in
Injector.getInstance(), only the last one gets thrown.  Unfortunately, in
my case, the earlier exceptions are quite a bit more helpful than the last
one.  

I'm able to see the earlier exceptions by setting a breakpoint in
InjectorImpl line 978, but given that we've promised to have wonderful
error messages, we need to do better than this.

Original issue reported on code.google.com by bslesinsky on 28 Jun 2007 at 5:13

GoogleCodeExporter commented 9 years ago
I implemented 90% of this today. There's still some further cleanup, but for 
the most part this feature is in!

Original comment by limpbizkit on 15 Jun 2008 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 16 Jun 2008 at 7:23