# IntentSender.SendIntentException

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

# SendIntentException

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/content/IntentSender.SendIntentException "View this page in Java")  

```
open class SendIntentException : AndroidException
```

|---|---|---|---|------------------------------------------------------------------------------------------------------------------------------------------------------|
| [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#)                                                            |||
|   |   | ↳ | [android.util.AndroidException](https://developer.android.com/reference/kotlin/android/util/AndroidException.html#)                                     ||
|   |   |   | ↳ | [android.content.IntentSender.SendIntentException](https://developer.android.com/reference/kotlin/android/content/IntentSender.SendIntentException#) |

Exception thrown when trying to send through a PendingIntent that has been canceled or is otherwise no longer able to execute the request.

## Summary

|                                                                                                                              Public constructors                                                                                                                               ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [SendIntentException](https://developer.android.com/reference/kotlin/android/content/IntentSender.SendIntentException#SendIntentException())`()` <br />                                                                                                                     |
| [SendIntentException](https://developer.android.com/reference/kotlin/android/content/IntentSender.SendIntentException#SendIntentException(java.lang.Exception))`(`cause:` `[Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)!`)` <br /> |
| [SendIntentException](https://developer.android.com/reference/kotlin/android/content/IntentSender.SendIntentException#SendIntentException(kotlin.String))`(`name:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br />             |

## Public constructors

### SendIntentException

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

```
SendIntentException()
```  

### SendIntentException

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

```
SendIntentException(cause: Exception!)
```  

### SendIntentException

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

```
SendIntentException(name: String!)
```