core/src/com/google/inject/internal/InjectorImpl.java
@Override
  public <T> BindingImpl<T> getBinding(Key<T> key) {
    Errors errors = new Errors(checkNotNull(key, "key"));
    try {
      BindingImpl<T> result = getBindingOrThrow(key, errors, JitLimitation.EXISTING_JIT);
      errors.throwConfigurationExceptionIfErrorsExist();
      return result;
    } catch (ErrorsException e) {
      throw new ConfigurationException(errors.merge(e.getErrors()).getMessages());
    }
  }
@Override
  public <T> BindingImpl<T> getBinding(Key<T> key) {
    Errors errors = new Errors(checkNotNull(key, "key"));
    try {
      BindingImpl<T> result = getBindingOrThrow(key, errors, JitLimitation.EXISTING_JIT);
      errors.throwConfigurationExceptionIfErrorsExist();
      return result;
    } catch (ErrorsException e) {
      throw new ConfigurationException(errors.merge(e.getErrors()).getMessages());
    }
  }
@ Override public < T > BindingImpl < T > getBinding ( Key < T > key ) { Errors errors = new Errors ( checkNotNull ( key , "key" ) ) ; try { BindingImpl < T > result = getBindingOrThrow ( key , errors , JitLimitation . EXISTING_JIT ) ; errors . throwConfigurationExceptionIfErrorsExist ( ) ; return result ; } catch ( ErrorsException e ) { throw new ConfigurationException ( errors . merge ( e . getErrors ( ) ) . getMessages ( ) ) ; } }
Returns the binding for {@code key}
Returns the binding for {