Cleaning up exceptions and Javadoc:
ConfigurationException, ProvisionException and CreationException are now all almost identical in implementation. We're careful to throw the appropriate one at the throwing site.
Extensions may now cleanly contribute error messages to the Guice errors summary by throwing a ConfigurationException during injection. For example, if the Multibindings extension needs to throw an exception during initialization (ie. while an @Inject method is running), that exception will show up as if it had been published by Guice itself. I'm quite happy with this.
Still to do -- avoiding duplicate 'at' lines in the exception cause trce...
git-svn-id: https://google-guice.googlecode.com/svn/trunk@650 d779f126-a31b-0410-b53b-1d3aecad763e
28 files changed