KNVE: add doc comment and mark as PublishedApi

This commit is contained in:
Dmitry Petrov
2020-04-20 13:24:50 +03:00
parent 8d06744a6a
commit b06780988d
2 changed files with 11 additions and 0 deletions
@@ -109,7 +109,11 @@ public expect class UninitializedPropertyAccessException : RuntimeException {
constructor(cause: Throwable?)
}
/**
* Thrown after invocation of a function or property that was expected to return `Nothing`, but returned something instead.
*/
@SinceKotlin("1.4")
@PublishedApi
internal class KotlinNothingValueException : RuntimeException {
constructor() : super()
constructor(message: String?) : super(message)
@@ -51,6 +51,13 @@ public abstract interface annotation class kotlin/ExtensionFunctionType : java/l
public abstract interface class kotlin/Function {
}
public final class kotlin/KotlinNothingValueException : java/lang/RuntimeException {
public fun <init> ()V
public fun <init> (Ljava/lang/String;)V
public fun <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
public fun <init> (Ljava/lang/Throwable;)V
}
public class kotlin/KotlinNullPointerException : java/lang/NullPointerException {
public fun <init> ()V
public fun <init> (Ljava/lang/String;)V