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.childBindingAlreadySet(Key<?> key,
Set<Object> sources) |
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.errorInUserCode(Throwable cause,
String messageFormat,
Object... arguments) |
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.merge(InternalProvisionException ipe) |
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.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.
|