Issue 260: NullPointerException in Guice.createInjector(...) with null  
module
http://code.google.com/p/google-guice/issues/detail?id=260

Comment #2 by kris.nuttycombe:
The primary issue I have with NPE as apposed to IllegalArgumentException is  
that
though the null dereference is an error, the fact that it's a few layers  
deep in the
stack trace violates the "fail fast" principle. IllegalArgumentException is  
also
indicative of a programming error, and more informative.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to