From 9941c255b97d1e372f6a0bc2504fe74759657bfc Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Tue, 7 Apr 2020 12:33:59 +0300 Subject: [PATCH] KT-30330 KotlinNothingValueException --- libraries/stdlib/common/src/kotlin/ExceptionsH.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/stdlib/common/src/kotlin/ExceptionsH.kt b/libraries/stdlib/common/src/kotlin/ExceptionsH.kt index 9d7dc3c4e1a..90d627ceddc 100644 --- a/libraries/stdlib/common/src/kotlin/ExceptionsH.kt +++ b/libraries/stdlib/common/src/kotlin/ExceptionsH.kt @@ -108,3 +108,11 @@ public expect class UninitializedPropertyAccessException : RuntimeException { constructor(message: String?, cause: Throwable?) constructor(cause: Throwable?) } + +@SinceKotlin("1.4") +internal class KotlinNothingValueException : RuntimeException { + constructor() : super() + constructor(message: String?) : super(message) + constructor(message: String?, cause: Throwable?) : super(message, cause) + constructor(cause: Throwable?) : super(cause) +} \ No newline at end of file