Created ContainerCreationException which delivers the error messages to the client. Added performance logging. Validation performance might be a concern. Will keep the design such that we can lazily validate if desired.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@44 d779f126-a31b-0410-b53b-1d3aecad763e
diff --git a/test/com/google/inject/GenericInjectionTest.java b/test/com/google/inject/GenericInjectionTest.java
index 43b0233..0e478ba 100644
--- a/test/com/google/inject/GenericInjectionTest.java
+++ b/test/com/google/inject/GenericInjectionTest.java
@@ -12,7 +12,7 @@
*/
public class GenericInjectionTest extends TestCase {
- public void testGenericInjection() {
+ public void testGenericInjection() throws ContainerCreationException {
List<String> names = Arrays.asList("foo", "bar", "bob");
ContainerBuilder builder = new ContainerBuilder();
builder.bind(new TypeLiteral<List<String>>() {}).to(names);