Class ChildBindingAlreadySetError

  • All Implemented Interfaces:
    java.io.Serializable

    final class ChildBindingAlreadySetError
    extends InternalErrorDetail<ChildBindingAlreadySetError>
    Error reported by Guice when a key is already bound in one or more child injectors or private modules.
    • Field Detail

      • key

        private final Key<?> key
      • existingSources

        private final com.google.common.collect.ImmutableList<java.lang.Object> existingSources
    • Constructor Detail

      • ChildBindingAlreadySetError

        ChildBindingAlreadySetError​(Key<?> key,
                                    java.lang.Iterable<java.lang.Object> existingSoruces,
                                    java.util.List<java.lang.Object> sources)