# AppFunctionRequestException

Artifact: [androidx.appfunctions:appfunctions](https://developer.android.com/jetpack/androidx/releases/appfunctions) [View Source](https://cs.android.com/search?q=file:androidx/appfunctions/AppFunctionRequestExceptions.kt+class:androidx.appfunctions.AppFunctionRequestException) Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

*** ** * ** ***


```
public abstract class AppFunctionRequestException extends AppFunctionException
```

<br />

|---|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||||
| ↳ | [kotlin.Throwable](https://developer.android.com/reference/java/lang/Throwable.html) ||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.html) |||
|   |   | ↳ | [androidx.appfunctions.AppFunctionException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionException) ||
|   |   |   | ↳ | [androidx.appfunctions.AppFunctionRequestException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionRequestException) |

Known direct subclasses [AppFunctionDeniedException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionDeniedException), [AppFunctionDisabledException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionDisabledException), [AppFunctionElementAlreadyExistsException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionElementAlreadyExistsException), [AppFunctionElementNotFoundException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionElementNotFoundException), [AppFunctionFunctionNotFoundException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionFunctionNotFoundException), [AppFunctionInvalidArgumentException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionInvalidArgumentException), [AppFunctionLimitExceededException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionLimitExceededException)

|---|---|
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionDeniedException` | Thrown when the caller does not have the permission to execute an app function. |
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionDisabledException` | Thrown when the caller tried to execute a disabled app function. |
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionElementAlreadyExistsException` | Thrown when the caller tried to create a resource/entity that already exists or has conflicts with existing resource/entity. |
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionElementNotFoundException` | Thrown when the caller tried to request a resource/entity that does not exist. |
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionFunctionNotFoundException` | Thrown when the caller tries to execute a function that does not exist. |
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionInvalidArgumentException` | Thrown when the caller supplied invalid arguments to `https://developer.android.com/reference/androidx/appfunctions/ExecuteAppFunctionRequest`'s parameters. |
| `https://developer.android.com/reference/androidx/appfunctions/AppFunctionLimitExceededException` | Thrown when the caller exceeded the allowed request rate. |

*** ** * ** ***

Thrown when the error is caused by the app requesting a function execution.

For example, the caller provided invalid parameters in the execution request e.g. an invalid function ID.

## Summary

### Inherited methods

From [androidx.appfunctions.AppFunctionException](https://developer.android.com/reference/androidx/appfunctions/AppFunctionException) `final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/androidx/appfunctions/AppFunctionException#getErrorMessage()()`

The error message.
From [kotlin.Throwable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-throwable/index.html) `final void` `https://developer.android.com/reference/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html exception)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#fillInStackTrace()()` `https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#getCause()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` `@https://developer.android.com/reference/androidx/annotation/RecentlyNullable
https://developer.android.com/reference/java/lang/Throwable.html#getLocalizedMessage()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/java/lang/Throwable.html#getMessage()()` `@https://developer.android.com/reference/androidx/annotation/NonNull StackTraceElement[]` `@https://developer.android.com/reference/androidx/annotation/RecentlyNonNull
https://developer.android.com/reference/java/lang/Throwable.html#getStackTrace()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull Throwable[]` `@https://developer.android.com/reference/androidx/annotation/RecentlyNonNull
https://developer.android.com/reference/java/lang/Throwable.html#getSuppressed()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#initCause(java.lang.Throwable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Throwable.html cause)` `void` `https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace()()` `void` `https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/io/PrintStream.html s)` `void` `https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/io/PrintWriter.html s)` `void` `https://developer.android.com/reference/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])(@https://developer.android.com/reference/androidx/annotation/NonNull StackTraceElement[] stackTrace)`