Errors |
Errors.addMessage(Message message)
|
Errors |
Errors.addMessage(String messageFormat, Object... arguments)
|
Errors |
Errors.ambiguousTypeConversion(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding a, TypeConverterBinding b)
|
Errors |
Errors.atInjectRequired(Class clazz)
|
Errors |
Errors.bindingAlreadySet(Key<?> key, Object source)
|
Errors |
Errors.bindingToProvider()
|
Errors |
Errors.cannotBindToGuiceType(String simpleName)
|
Errors |
Errors.cannotInjectAbstractMethod(Method method)
|
Errors |
Errors.cannotInjectFinalField(Field field)
|
Errors |
Errors.cannotInjectInnerClass(Class<?> type)
|
Errors |
Errors.cannotInjectMethodWithTypeParameters(Method method)
|
Errors |
Errors.cannotInjectNonVoidMethod(Method method)
|
Errors |
Errors.cannotInjectRawMembersInjector()
|
Errors |
Errors.cannotInjectRawProvider()
|
Errors |
Errors.cannotInjectRawTypeLiteral()
|
Errors |
Errors.cannotInjectTypeLiteralOf(Type unsupportedType)
|
Errors |
Errors.cannotSatisfyCircularDependency(Class<?> expectedType)
|
Errors |
Errors.childBindingAlreadySet(Key<?> key, Set<Object> sources)
|
Errors |
Errors.circularProxiesDisabled(Class<?> expectedType)
|
Errors |
Errors.constructorNotDefinedByType(Constructor<?> constructor, TypeLiteral<?> type)
|
Errors |
Errors.conversionError(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding typeConverterBinding, RuntimeException cause)
|
Errors |
Errors.conversionTypeError(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding typeConverterBinding, Object converted)
|
Errors |
Errors.converterReturnedNull(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding typeConverterBinding)
|
Errors |
Errors.duplicateBindingAnnotations(Member member, Class<? extends Annotation> a, Class<? extends Annotation> b)
|
Errors |
Errors.duplicateScopeAnnotations(Class<? extends Annotation> a, Class<? extends Annotation> b)
|
Errors |
Errors.duplicateScopes(ScopeBinding existing, Class<? extends Annotation> annotationType, Scope scope)
|
Errors |
Errors.errorCheckingDuplicateBinding(Key<?> key, Object source, Throwable t)
|
Errors |
Errors.errorEnhancingClass(Class<?> clazz, Throwable cause)
|
Errors |
Errors.errorInjectingConstructor(Throwable cause)
|
Errors |
Errors.errorInjectingMethod(Throwable cause)
|
Errors |
Errors.errorInProvider(RuntimeException runtimeException)
|
Errors |
Errors.errorInUserCode(Throwable cause, String messageFormat, Object... arguments)
|
Errors |
Errors.errorInUserInjector(MembersInjector<?> listener, TypeLiteral<?> type, RuntimeException cause)
|
Errors |
Errors.errorNotifyingInjectionListener(InjectionListener<?> listener, TypeLiteral<?> type, RuntimeException cause)
|
Errors |
Errors.errorNotifyingTypeListener(TypeListenerBinding listener, TypeLiteral<?> type, Throwable cause)
|
Errors |
Errors.exposedButNotBound(Key<?> key)
|
Errors |
ErrorsException.getErrors()
|
Errors |
Errors.jitBindingAlreadySet(Key<?> key)
|
Errors |
Errors.jitDisabled(Key key)
|
Errors |
Errors.jitDisabledInParent(Key<?> key)
|
Errors |
Errors.keyNotFullySpecified(TypeLiteral<?> typeLiteral)
|
Errors |
Errors.merge(Collection<Message> messages)
|
Errors |
Errors.merge(Errors moreErrors)
|
Errors |
Errors.misplacedBindingAnnotation(Member member, Annotation bindingAnnotation)
|
Errors |
Errors.missingConstantValues()
|
Errors |
Errors.missingConstructor(Class<?> implementation)
|
Errors |
Errors.missingImplementation(Key key)
We use a fairly generic error message here.
|
Errors |
Errors.missingRuntimeRetention(Class<? extends Annotation> annotation)
|
Errors |
Errors.missingScopeAnnotation(Class<? extends Annotation> annotation)
|
Errors |
Errors.notASubtype(Class<?> implementationType, Class<?> type)
|
Errors |
Errors.optionalConstructor(Constructor constructor)
|
Errors |
Errors.recursiveBinding()
|
Errors |
Errors.recursiveImplementationType()
|
Errors |
Errors.recursiveProviderType()
|
Errors |
Errors.scopeAnnotationOnAbstractType(Class<? extends Annotation> scopeAnnotation, Class<?> type, Object source)
|
Errors |
Errors.scopeNotFound(Class<? extends Annotation> scopeAnnotation)
|
Errors |
Errors.staticInjectionOnInterface(Class<?> clazz)
|
Errors |
Errors.subtypeNotProvided(Class<? extends Provider<?>> providerType, Class<?> type)
|
Errors |
Errors.tooManyConstructors(Class<?> implementation)
|
Errors |
Errors.voidProviderMethod()
|
Errors |
Errors.withSource(Object source)
Returns an instance that uses
source as a reference point for newly added errors.
|