Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [S Extensions 22](https://developer.android.com/sdkExtensions)

# InvalidEchDataException

*** ** * ** ***

```
open class InvalidEchDataException : SSLException
```

|---|---|---|---|---|---|
| [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.io.IOException](https://developer.android.com/reference/kotlin/java/io/IOException.html#) |||
|   |   |   | ↳ | [javax.net.ssl.SSLException](https://developer.android.com/reference/kotlin/javax/net/ssl/SSLException.html#) ||
|   |   |   |   | ↳ | [android.net.ssl.InvalidEchDataException](https://developer.android.com/reference/kotlin/android/net/ssl/InvalidEchDataException#) |

Exception thrown when the ECH (Encrypted Client Hello) data is empty or invalid.

## Summary

| Public constructors ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/net/ssl/InvalidEchDataException#InvalidEchDataException(kotlin.String)(message: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?)` <br /> |

## Public constructors

### InvalidEchDataException

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [S Extensions 22](https://developer.android.com/sdkExtensions)

```
InvalidEchDataException(message: String?)
```

| Parameters ||
|---|---|
| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?: This value may be `null`. |