Home
last modified time | relevance | path

Searched refs:addError (Results 1 – 25 of 82) sorted by relevance

1234

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvidesMethodValidator.java82 builder.addError( in validate()
87 builder.addError(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER), providesMethodElement); in validate()
92 builder.addError(formatErrorMessage(BINDING_METHOD_PRIVATE), providesMethodElement); in validate()
95 builder.addError(formatErrorMessage(BINDING_METHOD_ABSTRACT), providesMethodElement); in validate()
101 builder.addError( in validate()
108 builder.addError( in validate()
124 builder.addError( in validate()
130 builder.addError( in validate()
137 builder.addError(PROVIDES_METHOD_SET_VALUES_RETURN_SET, providesMethodElement); in validate()
142 builder.addError(PROVIDES_METHOD_SET_VALUES_RETURN_SET, providesMethodElement); in validate()
[all …]
DProducesMethodValidator.java85 builder.addError( in validate()
90 builder.addError(formatErrorMessage(BINDING_METHOD_TYPE_PARAMETER), producesMethodElement); in validate()
95 builder.addError(formatErrorMessage(BINDING_METHOD_PRIVATE), producesMethodElement); in validate()
98 builder.addError(formatErrorMessage(BINDING_METHOD_ABSTRACT), producesMethodElement); in validate()
104 builder.addError( in validate()
111 builder.addError( in validate()
127 builder.addError( in validate()
133 builder.addError( in validate()
169 reportBuilder.addError(PRODUCES_METHOD_RETURN_TYPE, reportBuilder.getSubject()); in validateKeyType()
178 reportBuilder.addError(PRODUCES_METHOD_RAW_FUTURE, reportBuilder.getSubject()); in validateSingleReturnType()
[all …]
DInjectConstructorValidator.java57 builder.addError(INJECT_ON_PRIVATE_CONSTRUCTOR, constructorElement); in validate()
61 builder.addError(QUALIFIER_ON_INJECT_CONSTRUCTOR, constructorElement, qualifier); in validate()
68 builder.addError(MULTIPLE_QUALIFIERS, constructorElement, qualifier); in validate()
78 builder.addError(INJECT_INTO_PRIVATE_CLASS, constructorElement); in validate()
82 builder.addError(INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS, constructorElement); in validate()
87 builder.addError(INJECT_CONSTRUCTOR_ON_INNER_CLASS, constructorElement); in validate()
100 builder.addError(MULTIPLE_INJECT_CONSTRUCTORS, constructorElement); in validate()
106 builder.addError(MULTIPLE_SCOPES, enclosingElement, scope); in validate()
DBuilderValidator.java72 builder.addError(msgs.mustBeInComponent(), subject); in validate()
80 builder.addError(msgs.cxtorOnlyOneAndNoArgs(), subject); in validate()
87 builder.addError(msgs.mustBeClassOrInterface(), subject); in validate()
92 builder.addError(msgs.generics(), subject); in validate()
97 builder.addError(msgs.isPrivate(), subject); in validate()
100 builder.addError(msgs.mustBeStatic(), subject); in validate()
104 builder.addError(msgs.mustBeAbstract(), subject); in validate()
151 builder.addError(msgs.missingBuildMethod(), subject); in validate()
160 builder.addError(String.format(msgs.manyMethodsForType(), type, entry.getValue()), subject); in validate()
195 builder.addError(String.format(enclosedError, extraArgs), method); in error()
[all …]
DModuleValidator.java123 builder.addError(MODULES_WITH_TYPE_PARAMS_MUST_BE_ABSTRACT, subject); in validateModifiers()
134 builder.addError( in validateMethodsWithSameName()
162 builder.addError(mirror + " is not a valid module type.", subject); in validateReferencedModules()
170 builder.addError( in validateReferencedModules()
185 builder.addError( in validateReferencedModules()
204 builder.addError( in validateReferencedModules()
251 builder.addError( in validateProvidesOverrides()
265 builder.addError( in validateProvidesOverrides()
283 reportBuilder.addError("Modules cannot be private.", moduleElement); in validateModuleVisibility()
285 reportBuilder.addError("Modules cannot be enclosed in private types.", moduleElement); in validateModuleVisibility()
[all …]
DComponentValidator.java135 builder.addError( in validate()
145 builder.addError( in validate()
198 builder.addError( in validate()
204 builder.addError( in validate()
217 builder.addError( in validate()
285 builder.addError( in validateSubcomponentMethod()
293 builder.addError( in validateSubcomponentMethod()
303 builder.addError( in validateSubcomponentMethod()
317 builder.addError( in validateSubcomponentBuilderMethod()
DMapKeyValidator.java42 builder.addError(MAPKEY_WITHOUT_MEMBERS, element); in validate()
45 builder.addError(UNWRAPPED_MAP_KEY_WITH_TOO_MANY_MEMBERS, element); in validate()
47 builder.addError(UNWRAPPED_MAP_KEY_WITH_ARRAY_MEMBER, element); in validate()
DInjectMethodValidator.java57 builder.addError(ABSTRACT_INJECT_METHOD, methodElement); in validate()
69 builder.addError(GENERIC_INJECT_METHOD, methodElement); in validate()
76 builder.addError(MULTIPLE_QUALIFIERS, methodElement, qualifier); in validate()
DProductionComponentValidator.java47 builder.addError( in validate()
61 builder.addError(mirror + " is not a valid module type.", subject); in validate()
71 builder.addError( in validate()
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp195 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text; in consumeUnsignedLiteral()
230 Error->addError(Range, Error->ET_ParserStringError) << ErrorText; in consumeStringLiteral()
310 Error->addError(NameToken.Range, Error->ET_RegistryValueNotFound) in parseIdentifierPrefixImpl()
330 Error->addError(OpenToken.Range, Error->ET_ParserNoOpenParen) in parseMatcherExpressionImpl()
338 Error->addError(NameToken.Range, Error->ET_RegistryMatcherNotFound) in parseMatcherExpressionImpl()
359 Error->addError(CommaToken.Range, Error->ET_ParserNoComma) in parseMatcherExpressionImpl()
381 Error->addError(OpenToken.Range, Error->ET_ParserNoCloseParen); in parseMatcherExpressionImpl()
403 Error->addError(BindToken.Range, Error->ET_ParserMalformedBindExpr); in parseMatcherExpressionImpl()
407 Error->addError(OpenToken.Range, Error->ET_ParserMalformedBindExpr); in parseMatcherExpressionImpl()
411 Error->addError(IDToken.Range, Error->ET_ParserMalformedBindExpr); in parseMatcherExpressionImpl()
[all …]
/external/guice/examples/src/example/xml/
DXmlBeanModule.java52 originalBinder.addError(e); in configure()
66 sourced.addError("Missing 'type' attribute."); in start()
76 sourced.addError(e); in start()
85 sourced.addError("%s doesn't have a no-arg constructor."); in start()
115 sourced.addError("Missing attribute name."); in start()
131 sourced.addError("%s.%s() not found.", type.getName(), setterName); in start()
138 sourced.addError("%s.%s() must take one argument.", in start()
/external/guice/core/src/com/google/inject/
DAbstractModule.java128 protected void addError(String message, Object... arguments) { in addError() method in AbstractModule
129 binder().addError(message, arguments); in addError()
135 protected void addError(Throwable t) { in addError() method in AbstractModule
136 binder().addError(t); in addError()
143 protected void addError(Message message) { in addError() method in AbstractModule
144 binder().addError(message); in addError()
DPrivateModule.java190 protected final void addError(String message, Object... arguments) { in addError() method in PrivateModule
191 binder().addError(message, arguments); in addError()
197 protected final void addError(Throwable t) { in addError() method in PrivateModule
198 binder().addError(t); in addError()
204 protected final void addError(Message message) { in addError() method in PrivateModule
205 binder().addError(message); in addError()
DBinder.java300 void addError(String message, Object... arguments); in addError() method
308 void addError(Throwable t); in addError() method
315 void addError(Message message); in addError() method
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
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/junit/src/org/junit/internal/runners/rules/
DRuleFieldValidator.java62 addError(errors, field, "must be static."); in optionallyValidateStatic()
67 addError(errors, field, "must be public."); in validatePublic()
73 addError(errors, field, "must implement MethodRule or TestRule."); in validateTestRuleOrMethodRule()
86 private void addError(List<Throwable> errors, FrameworkField field, in addError() method in RuleFieldValidator
/external/guice/core/src/com/google/inject/spi/
DTypeEncounter.java44 void addError(String message, Object... arguments); in addError() method
51 void addError(Throwable t); in addError() method
56 void addError(Message message); in addError() method
/external/guice/core/src/com/google/inject/internal/
DAbstractBindingBuilder.java111 binder.addError(IMPLEMENTATION_ALREADY_SET); in checkNotTargetted()
117 binder.addError(ANNOTATION_ALREADY_SPECIFIED); in checkNotAnnotated()
124 binder.addError(SINGLE_INSTANCE_AND_SCOPE); in checkNotScoped()
129 binder.addError(SCOPE_ALREADY_SET); in checkNotScoped()
DEncounterImpl.java112 public void addError(String message, Object... arguments) { in addError() method in EncounterImpl
117 public void addError(Throwable t) { in addError() method in EncounterImpl
122 public void addError(Message message) { in addError() method in EncounterImpl
/external/jsoncpp/src/lib_json/
Djson_reader.cpp142 addError( in parse()
213 return addError("Syntax error: value, object or array expected.", token); in readValue()
237 return addError(message, token); in expectToken()
531 return addError("'" + std::string(token.start_, token.end_) + in decodeNumber()
574 return addError("Unable to parse token length", token); in decodeDouble()
595 return addError("'" + std::string(token.start_, token.end_) + in decodeDouble()
622 return addError("Empty escape sequence in string", token, current); in decodeString()
656 return addError("Bad escape sequence in string", token, current); in decodeString()
675 return addError( in decodeUnicodeCodePoint()
686 return addError("expecting another \\u token to begin the second half of " in decodeUnicodeCodePoint()
[all …]
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DDaggerMethodScanner.java54 binder.addError("Map bindings are not yet supported."); in prepareMethod()
58 binder.addError(Type.SET_VALUES.name() + " contributions are not supported by Guice.", in prepareMethod()
62 binder.addError("Unknown @Provides type " + annotation.type() + ".", providesMethod); in prepareMethod()
/external/junit/src/junit/framework/
DTestResult.java40 public synchronized void addError(Test test, Throwable t) { in addError() method in TestResult
43 each.addError(test, t); in addError()
142 addError(test, e); in runProtected()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DValidationReportTest.java52 reportBuilder.addError("simple error"); in basicReport()
72 reportBuilder.addError("simple error", getTypeElement(String.class)); in messageOnDifferentElement()
92 reportBuilder.addError("simple error"); in subreport()
/external/junit/src/org/junit/rules/
DErrorCollector.java46 public void addError(Throwable error) { in addError() method in ErrorCollector
81 addError(e); in checkSucceeds()
/external/autotest/tko/parsers/test/
Dunittest_hotfix.py65 result.addError(self, exc_info())
79 result.addError(self, exc_info())
86 result.addError(self, exc_info())

1234