Home
last modified time | relevance | path

Searched refs:errorMsg (Results 1 – 13 of 13) sorted by relevance

/room/room-compiler/src/main/kotlin/androidx/room/preconditions/
DChecks.kt36 fun check(predicate: Boolean, element: XElement, errorMsg: String, vararg args: Any): Boolean { in check()
38 logger.e(element, errorMsg, args) in check()
53 errorMsg: String, in hasAnnotation()
57 logger.e(element, errorMsg, args) in hasAnnotation()
64 fun notUnbound(type: XType, element: XElement, errorMsg: String, vararg args: Any): Boolean { in notUnbound()
66 val failed = check(!type.isTypeVariable(), element, errorMsg, args) in notUnbound()
68 val nestedFailure = type.typeArguments.any { notUnbound(it, element, errorMsg, args) } in notUnbound()
/room/room-gradle-plugin/src/main/java/androidx/room/gradle/
DRoomSchemaCopyTask.kt100 val errorMsg = buildString { in <lambda>() constant
111 throw GradleException(errorMsg) in <lambda>()
/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DMigrationTest.java143 String errorMsg = """ in addTableFailure() local
180 testFailure(1, 2, errorMsg); in addTableFailure()
218 String errorMsg = """ in failedToRemoveColumn() local
280 testFailure(4, 5, errorMsg); in failedToRemoveColumn()
303 String errorMsg = "Migration didn't properly handle: Unexpected table Entity3"; in failedToDropTable() local
304 testFailure(5, 6, errorMsg); in failedToDropTable()
366 String errorMsg = (""" in addViewFailure() local
378 testFailure(7, 8, errorMsg); in addViewFailure()
417 String errorMsg = """ in addDefaultValueFailure() local
503 testFailure(10, 11, errorMsg); in addDefaultValueFailure()
[all …]
/room/room-runtime/src/commonMain/kotlin/androidx/room/util/
DDBUtil.kt118 val errorMsg = processForeignKeyCheckFailure(stmt) in foreignKeyCheck() constant
119 throw SQLiteException(errorMsg) in foreignKeyCheck()
/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/ksp/
DKspFilerTest.kt206 var errorMsg = in <lambda>() variable
212 error(errorMsg) in <lambda>()
214 println(errorMsg) in <lambda>()
/room/room-compiler/src/main/kotlin/androidx/room/processor/
DShortcutFunctionProcessor.kt40 fun <T : Annotation> extractAnnotation(klass: KClass<T>, errorMsg: String): XAnnotation? { in <lambda>()
42 context.checker.check(annotation != null, executableElement, errorMsg) in <lambda>()
DShortcutParameterProcessor.kt49 errorMsg = ProcessorErrors.QUERY_PARAMETERS_CANNOT_START_WITH_UNDERSCORE in process()
DDaoProcessor.kt96 errorMsg = ProcessorErrors.INVALID_ANNOTATION_IN_DAO_PROPERTY in <lambda>()
103 errorMsg = ProcessorErrors.INVALID_ANNOTATION_COUNT_IN_DAO_FUNCTION in <lambda>()
DDatabaseProcessor.kt137 errorMsg = ProcessorErrors.INVALID_DATABASE_VERSION in <lambda>()
549 errorMsg = ProcessorErrors.MISSING_CONSTRUCTED_BY_ANNOTATION in <lambda>()
563 errorMsg = ProcessorErrors.INVALID_CONSTRUCTED_BY_NOT_OBJECT in <lambda>()
569 errorMsg = ProcessorErrors.INVALID_CONSTRUCTED_BY_NOT_EXPECT in <lambda>()
DPropertyProcessor.kt36 val onBindingError: (property: Property, errorMsg: String) -> Unit
DDataClassProcessor.kt177 onBindingError = { property, errorMsg -> in <lambda>() method
178 propertyBindingErrors[property] = errorMsg in <lambda>()
/room/room-compiler/src/main/kotlin/androidx/room/util/
DSchemaDiffer.kt388 private fun diffError(errorMsg: String): Nothing { in <lambda>()
389 throw DiffException(errorMsg) in <lambda>()
/room/room-compiler/src/test/kotlin/androidx/room/processor/
DPropertyProcessorTest.kt742 onBindingError = { property, errorMsg -> in <lambda>() method
743 invocation.context.logger.e(property.element, errorMsg) in <lambda>()