Package com.google.inject.throwingproviders
package com.google.inject.throwingproviders
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar.-
ClassDescriptionAlternative to the Guice
Providerthat throws a checked Exception.Annotates methods of aModuleto create aCheckedProvidermethod binding that can throw exceptions.A version of @Injectdesigned for ThrowingProviders.ThrowingProvider<T,E extends Exception> Deprecated.Builds a binding for aCheckedProvider.
CheckedProviderinstead.