# RemoteViews.ActionException

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# ActionException

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/widget/RemoteViews.ActionException "View this page in Java")  

```
open class ActionException : RuntimeException
```

|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                    |||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)                                                     ||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)                                                |||
|   |   | ↳ | [java.lang.RuntimeException](https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html#)                               ||
|   |   |   | ↳ | [android.widget.RemoteViews.ActionException](https://developer.android.com/reference/kotlin/android/widget/RemoteViews.ActionException#) |

Exception to send when something goes wrong executing an action

## Summary

|                                                                                                                      Public constructors                                                                                                                      ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [ActionException](https://developer.android.com/reference/kotlin/android/widget/RemoteViews.ActionException#ActionException(java.lang.Exception))`(`ex:` `[Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)!`)` <br /> |
| [ActionException](https://developer.android.com/reference/kotlin/android/widget/RemoteViews.ActionException#ActionException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br />       |

## Public constructors

### ActionException

Added in[API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
ActionException(ex: Exception!)
```  

### ActionException

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
ActionException(message: String!)
```