Great idea! This would be in line with how Preconditions works, which is
essentially what this call is about.

-Andrew

On Sun, Sep 12, 2010 at 8:29 AM, Dhanji R. Prasanna <[email protected]>wrote:

> Right now we can require bindings but that just spits out a missing binding
> error. I think it would be cool to allow users to specify a why it's
> required.
>
> requireBinding(UnitOfWork.class, "Persistence provider must bind an
> implementation for the unit of work to be managed. This is likely not a user
> error but an error in your persistence provider's module implementation.")
>
> Dhanji.
>
> --
> 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]<google-guice-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-guice-dev?hl=en.
>

-- 
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