Searched refs:addError (Results 1 - 25 of 106) sorted by relevance

12345

/external/junit/src/main/java/junit/framework/
H A DTestListener.java10 public void addError(Test test, Throwable e); method in interface:TestListener
H A DTestResult.java36 public synchronized void addError(Test test, Throwable e) { method in class:TestResult
39 each.addError(test, e);
148 addError(test, e);
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DProducesMethodValidator.java85 builder.addError(
90 builder.addError(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER), producesMethodElement);
95 builder.addError(formatErrorMessage(BINDING_METHOD_PRIVATE), producesMethodElement);
98 builder.addError(formatErrorMessage(BINDING_METHOD_ABSTRACT), producesMethodElement);
104 builder.addError(
111 builder.addError(
127 builder.addError(
133 builder.addError(
169 reportBuilder.addError(PRODUCES_METHOD_RETURN_TYPE, reportBuilder.getSubject());
178 reportBuilder.addError(PRODUCES_METHOD_RAW_FUTUR
[all...]
H A DProvidesMethodValidator.java82 builder.addError(
87 builder.addError(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER), providesMethodElement);
92 builder.addError(formatErrorMessage(BINDING_METHOD_PRIVATE), providesMethodElement);
95 builder.addError(formatErrorMessage(BINDING_METHOD_ABSTRACT), providesMethodElement);
101 builder.addError(
108 builder.addError(
124 builder.addError(
130 builder.addError(
137 builder.addError(PROVIDES_METHOD_SET_VALUES_RETURN_SET, providesMethodElement);
142 builder.addError(PROVIDES_METHOD_SET_VALUES_RETURN_SE
[all...]
H A DInjectConstructorValidator.java57 builder.addError(INJECT_ON_PRIVATE_CONSTRUCTOR, constructorElement);
61 builder.addError(QUALIFIER_ON_INJECT_CONSTRUCTOR, constructorElement, qualifier);
68 builder.addError(MULTIPLE_QUALIFIERS, constructorElement, qualifier);
78 builder.addError(INJECT_INTO_PRIVATE_CLASS, constructorElement);
82 builder.addError(INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS, constructorElement);
87 builder.addError(INJECT_CONSTRUCTOR_ON_INNER_CLASS, constructorElement);
100 builder.addError(MULTIPLE_INJECT_CONSTRUCTORS, constructorElement);
106 builder.addError(MULTIPLE_SCOPES, enclosingElement, scope);
H A DMapKeyValidator.java42 builder.addError(MAPKEY_WITHOUT_MEMBERS, element);
45 builder.addError(UNWRAPPED_MAP_KEY_WITH_TOO_MANY_MEMBERS, element);
47 builder.addError(UNWRAPPED_MAP_KEY_WITH_ARRAY_MEMBER, element);
H A DBuilderValidator.java72 builder.addError(msgs.mustBeInComponent(), subject);
80 builder.addError(msgs.cxtorOnlyOneAndNoArgs(), subject);
87 builder.addError(msgs.mustBeClassOrInterface(), subject);
92 builder.addError(msgs.generics(), subject);
97 builder.addError(msgs.isPrivate(), subject);
100 builder.addError(msgs.mustBeStatic(), subject);
104 builder.addError(msgs.mustBeAbstract(), subject);
151 builder.addError(msgs.missingBuildMethod(), subject);
160 builder.addError(String.format(msgs.manyMethodsForType(), type, entry.getValue()), subject);
195 builder.addError(Strin
[all...]
H A DInjectMethodValidator.java57 builder.addError(ABSTRACT_INJECT_METHOD, methodElement);
69 builder.addError(GENERIC_INJECT_METHOD, methodElement);
76 builder.addError(MULTIPLE_QUALIFIERS, methodElement, qualifier);
H A DProductionComponentValidator.java47 builder.addError(
61 builder.addError(mirror + " is not a valid module type.", subject);
71 builder.addError(
H A DModuleValidator.java123 builder.addError(MODULES_WITH_TYPE_PARAMS_MUST_BE_ABSTRACT, subject);
134 builder.addError(
162 builder.addError(mirror + " is not a valid module type.", subject);
170 builder.addError(
185 builder.addError(
204 builder.addError(
251 builder.addError(
265 builder.addError(
283 reportBuilder.addError("Modules cannot be private.", moduleElement);
285 reportBuilder.addError("Module
[all...]
H A DInjectFieldValidator.java55 builder.addError(FINAL_INJECT_FIELD, fieldElement);
69 builder.addError(MULTIPLE_QUALIFIERS, fieldElement, qualifier);
H A DComponentValidator.java135 builder.addError(
145 builder.addError(
198 builder.addError(
204 builder.addError(
217 builder.addError(
285 builder.addError(
293 builder.addError(
303 builder.addError(
317 builder.addError(
/external/guice/core/src/com/google/inject/spi/
H A DTypeEncounter.java44 void addError(String message, Object... arguments); method in interface:TypeEncounter
51 void addError(Throwable t); method in interface:TypeEncounter
56 void addError(Message message); method in interface:TypeEncounter
/external/guice/core/src/com/google/inject/
H A DAbstractModule.java126 * @see Binder#addError(String, Object[])
128 protected void addError(String message, Object... arguments) { method in class:AbstractModule
129 binder().addError(message, arguments);
133 * @see Binder#addError(Throwable)
135 protected void addError(Throwable t) { method in class:AbstractModule
136 binder().addError(t);
140 * @see Binder#addError(Message)
143 protected void addError(Message message) { method in class:AbstractModule
144 binder().addError(message);
H A DPrivateModule.java188 * @see Binder#addError(String, Object[])
190 protected final void addError(String message, Object... arguments) { method in class:PrivateModule
191 binder().addError(message, arguments);
195 * @see Binder#addError(Throwable)
197 protected final void addError(Throwable t) { method in class:PrivateModule
198 binder().addError(t);
202 * @see Binder#addError(Message)
204 protected final void addError(Message message) { method in class:PrivateModule
205 binder().addError(message);
H A DBinder.java198 * {@link #addError} and {@link #currentStage} are not part of the Binding EDSL;
300 void addError(String message, Object... arguments); method in interface:Binder
308 void addError(Throwable t); method in interface:Binder
315 void addError(Message message); method in interface:Binder
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
H A DMultibindingsScanner.java84 binder.addError("Found a MapKey annotation on non map binding at %s.", method);
94 binder.addError("No MapKey found for map binding at %s.", method);
102 binder.addError("Found a MapKey annotation on non map binding at %s.", method);
138 binder.addError("Found more than one MapKey annotations on %s.", method);
146 binder.addError("Array types are not allowed in a MapKey with unwrapValue=true: %s",
151 binder.addError("No 'value' method in MapKey with unwrapValue=true: %s",
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
H A DDaggerMethodScanner.java54 binder.addError("Map bindings are not yet supported.");
58 binder.addError(Type.SET_VALUES.name() + " contributions are not supported by Guice.",
62 binder.addError("Unknown @Provides type " + annotation.type() + ".", providesMethod);
/external/guice/core/src/com/google/inject/internal/
H A DAbstractBindingBuilder.java111 binder.addError(IMPLEMENTATION_ALREADY_SET);
117 binder.addError(ANNOTATION_ALREADY_SPECIFIED);
124 binder.addError(SINGLE_INSTANCE_AND_SCOPE);
129 binder.addError(SCOPE_ALREADY_SET);
/external/junit/src/main/java/org/junit/rules/
H A DErrorCollector.java24 * collector.addError(new Throwable("first thing went wrong"));
25 * collector.addError(new Throwable("second thing went wrong"));
45 public void addError(Throwable error) { method in class:ErrorCollector
80 addError(e);
/external/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp195 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text;
230 Error->addError(Range, Error->ET_ParserStringError) << ErrorText;
310 Error->addError(NameToken.Range, Error->ET_RegistryValueNotFound)
330 Error->addError(OpenToken.Range, Error->ET_ParserNoOpenParen)
338 Error->addError(NameToken.Range, Error->ET_RegistryMatcherNotFound)
359 Error->addError(CommaToken.Range, Error->ET_ParserNoComma)
381 Error->addError(OpenToken.Range, Error->ET_ParserNoCloseParen);
403 Error->addError(BindToken.Range, Error->ET_ParserMalformedBindExpr);
407 Error->addError(OpenToken.Range, Error->ET_ParserMalformedBindExpr);
411 Error->addError(IDToke
[all...]
/external/guice/examples/src/example/xml/
H A DXmlBeanModule.java52 originalBinder.addError(e);
66 sourced.addError("Missing 'type' attribute.");
76 sourced.addError(e);
85 sourced.addError("%s doesn't have a no-arg constructor.");
115 sourced.addError("Missing attribute name.");
131 sourced.addError("%s.%s() not found.", type.getName(), setterName);
138 sourced.addError("%s.%s() must take one argument.",
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
H A DValidationReportTest.java52 reportBuilder.addError("simple error");
72 reportBuilder.addError("simple error", getTypeElement(String.class));
92 reportBuilder.addError("simple error");
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
H A DCheckedProvideUtils.java70 binder.addError(msg);
98 binder.addError(
/external/autotest/tko/parsers/test/
H A Dunittest_hotfix.py65 result.addError(self, exc_info())
79 result.addError(self, exc_info())
86 result.addError(self, exc_info())

Completed in 4291 milliseconds

12345