# RSDriverException

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

# RSDriverException

*** ** * ** ***

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

```
open class RSDriverException : RSRuntimeException
```

|---|---|---|---|---|----------------------------------------------------------------------------------------------------------------------------------|
| [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.renderscript.RSRuntimeException](https://developer.android.com/reference/kotlin/android/renderscript/RSRuntimeException)   ||
|   |   |   |   | ↳ | [android.renderscript.RSDriverException](https://developer.android.com/reference/kotlin/android/renderscript/RSDriverException#) |

*** ** * ** ***

| **This exception was deprecated in API level 31.**
|
| Renderscript has been deprecated in API level 31. Please refer to the[migration guide](https://developer.android.com/guide/topics/renderscript/migration-guide)for the proposed alternatives.

Base class for all exceptions thrown by the Android RenderScript

## Summary

|                                                                                                                  Public constructors                                                                                                                   ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [RSDriverException](https://developer.android.com/reference/kotlin/android/renderscript/RSDriverException#RSDriverException(kotlin.String))`(`string:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br /> |

## Public constructors

### RSDriverException

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

```
RSDriverException(string: String!)
```