Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 5 of 5) sorted by relevance

/appfunctions/appfunctions-common/src/main/java/androidx/appfunctions/
DAppFunctionException.kt99 exception: com.android.extensions.appfunctions.AppFunctionException in fromPlatformExtensionsClass()
101 return when (exception.errorCode) { in fromPlatformExtensionsClass()
102 ERROR_DENIED -> AppFunctionDeniedException(exception.errorMessage, exception.extras) in fromPlatformExtensionsClass()
104 AppFunctionInvalidArgumentException(exception.errorMessage, exception.extras) in fromPlatformExtensionsClass()
106 AppFunctionDisabledException(exception.errorMessage, exception.extras) in fromPlatformExtensionsClass()
108 AppFunctionFunctionNotFoundException(exception.errorMessage, exception.extras) in fromPlatformExtensionsClass()
110 AppFunctionElementNotFoundException(exception.errorMessage, exception.extras) in fromPlatformExtensionsClass()
112 AppFunctionLimitExceededException(exception.errorMessage, exception.extras) in fromPlatformExtensionsClass()
115 exception.errorMessage, in fromPlatformExtensionsClass()
116 exception.extras in fromPlatformExtensionsClass()
[all …]
/appfunctions/appfunctions-compiler/src/main/java/androidx/appfunctions/compiler/core/
DKSPLoggerUtils.kt25 fun KSPLogger.logException(exception: ProcessingException) { in logException()
26 val location = exception.symbol?.location as? FileLocation in logException()
28 error("AppFunction compiler failed: ${exception.message}", exception.symbol) in logException()
40 exception.symbol, in logException()
/appfunctions/appfunctions-common/src/androidTest/java/androidx/appfunctions/
DAppFunctionExceptionTest.kt29 val exception = AppFunctionDeniedException("testMessage", extras) in testTransformToPlatformExtensionsClass() constant
31 val platformException = exception.toPlatformExtensionsClass() in testTransformToPlatformExtensionsClass()
110 val exception = AppFunctionException.fromPlatformExtensionsClass(platformException) in testCreateFromPlatformExtensionsClass() constant
112 assertThat(exception).isInstanceOf(exceptionClass) in testCreateFromPlatformExtensionsClass()
113 assertThat(exception.internalErrorCode).isEqualTo(errorCode) in testCreateFromPlatformExtensionsClass()
114 assertThat(exception.errorMessage).isEqualTo("testMessage") in testCreateFromPlatformExtensionsClass()
115 assertThat(exception.extras.getString("testKey")).isEqualTo("testValue") in testCreateFromPlatformExtensionsClass()
/appfunctions/appfunctions-runtime/src/main/java/androidx/appfunctions/internal/
DExtensionAppFunctionManagerApi.kt73 val exception = in <lambda>() constant
77 cont.resume(ExecuteAppFunctionResponse.Error(exception)) in <lambda>()
131 exception: AppFunctionException in <lambda>()
138 exception is AppFunctionSystemUnknownException && in <lambda>()
139 exception.errorMessage == "IllegalArgumentException: App function not found." in <lambda>()
143 return exception in <lambda>()
/appfunctions/appfunctions-runtime/src/test/java/androidx/appfunctions/
DAppFunctionSearchSpecTest.kt27 val exception = in constructor_minSchemaVersionNegative_throws() constant
31 assertThat(exception) in constructor_minSchemaVersionNegative_throws()