# PendingIntent.CanceledException

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

# CanceledException

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/app/PendingIntent.CanceledException "View this page in Java")  

```
class CanceledException : 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.app.PendingIntent.CanceledException](https://developer.android.com/reference/kotlin/android/app/PendingIntent.CanceledException#) |

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                                                                                                                          ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [CanceledException](https://developer.android.com/reference/kotlin/android/app/PendingIntent.CanceledException#CanceledException())`()` <br />                                                                                                                     |
| [CanceledException](https://developer.android.com/reference/kotlin/android/app/PendingIntent.CanceledException#CanceledException(java.lang.Exception))`(`cause:` `[Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)!`)` <br /> |
| [CanceledException](https://developer.android.com/reference/kotlin/android/app/PendingIntent.CanceledException#CanceledException(kotlin.String))`(`name:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br />             |

## Public constructors

### CanceledException

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

```
CanceledException()
```  

### CanceledException

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

```
CanceledException(cause: Exception!)
```  

### CanceledException

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

```
CanceledException(name: String!)
```